winpr-pipe: fixed memory leak in WaitNamedPipeA
This commit is contained in:
parent
0cc918a1d5
commit
bab5c22f9e
@ -285,7 +285,7 @@ BOOL WaitNamedPipeA(LPCSTR lpNamedPipeName, DWORD nTimeOut)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
free(lpFilePath);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user