winpr-handle: fixed compiler warning
This commit is contained in:
parent
bab5c22f9e
commit
d2790d92c8
@ -173,9 +173,9 @@ BOOL CloseHandle(HANDLE hObject)
|
||||
if (pipe->serverfd != -1)
|
||||
close(pipe->serverfd);
|
||||
|
||||
free(pipe->lpFileName);
|
||||
free(pipe->lpFilePath);
|
||||
free(pipe->name);
|
||||
free((char *)pipe->lpFileName);
|
||||
free((char *)pipe->lpFilePath);
|
||||
free((char *)pipe->name);
|
||||
free(pipe);
|
||||
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user