ntdll: Fix memory leak in RtlNormalizeString().
Spotted by Piotr Caban. Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fa97cbdf14
commit
aeab1b2a6b
|
@ -1592,6 +1592,7 @@ NTSTATUS WINAPI RtlNormalizeString( ULONG form, const WCHAR *src, INT src_len, W
|
|||
res = wine_decompose_string( flags, src, src_len, buf, buf_len );
|
||||
if (res) break;
|
||||
buf_len *= 2;
|
||||
RtlFreeHeap( GetProcessHeap(), 0, buf );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue