mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 20:36:35 +00:00
[KERNEL32]
* Free the buffer using RtlFreeHeap(). Spotted by Sergei Abramov. CORE-7834 #resolve #comment Committed a proper fix in r61937. Cheers ! svn path=/trunk/; revision=61937
This commit is contained in:
parent
175aa88d04
commit
9d2571d384
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ FindNextVolumeA(IN HANDLE handle,
|
|||
if (!WideCharToMultiByte( CP_ACP, 0, buffer, -1, volume, len, NULL, NULL )) ret = FALSE;
|
||||
}
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, buffer );
|
||||
RtlFreeHeap(RtlGetProcessHeap(), 0, buffer);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue