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
1 changed files with 1 additions and 0 deletions

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