mirror of
https://github.com/reactos/wine.git
synced 2025-02-06 12:08:04 +00:00
Allow NULL as argument to SysFreeString in accordance with SDK.
This commit is contained in:
parent
0a7aa169c2
commit
3e9608df2a
@ -229,6 +229,9 @@ void WINAPI SysFreeString16(BSTR16 in)
|
||||
void WINAPI SysFreeString(BSTR in)
|
||||
{
|
||||
DWORD* bufferPointer;
|
||||
|
||||
/* NULL is a valid parameter */
|
||||
if(!in) return;
|
||||
|
||||
/*
|
||||
* We have to be careful when we free a BSTR pointer, it points to
|
||||
|
Loading…
x
Reference in New Issue
Block a user