winpr-handle: fixed compiler warning

This commit is contained in:
Bernhard Miklautz 2013-10-15 13:22:01 +02:00
parent bab5c22f9e
commit d2790d92c8

View File

@ -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;