1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 17:28:47 +00:00

kernel32: Add missing HeapFree(). Found by Smatch.

This commit is contained in:
Michael Stefaniuc 2008-01-07 22:12:54 +01:00 committed by Alexandre Julliard
parent a74ecc5f2f
commit 46f8b23eb7

View File

@ -1475,6 +1475,7 @@ BOOL WINAPI FindNextVolumeA( HANDLE handle, LPSTR volume, DWORD len )
{
if (!WideCharToMultiByte( CP_ACP, 0, buffer, -1, volume, len, NULL, NULL )) ret = FALSE;
}
HeapFree( GetProcessHeap(), 0, buffer );
return ret;
}