winpr-pipe: fixed memory leak in WaitNamedPipeA

This commit is contained in:
Bernhard Miklautz 2013-10-15 13:09:13 +02:00
parent 0cc918a1d5
commit bab5c22f9e

View File

@ -285,7 +285,7 @@ BOOL WaitNamedPipeA(LPCSTR lpNamedPipeName, DWORD nTimeOut)
break;
}
}
free(lpFilePath);
return status;
}