Commit 3e9608df authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

Allow NULL as argument to SysFreeString in accordance with SDK.

parent 0a7aa169
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment