Commit 28a7d588 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

netapi32: Remove redundant NULL check before HeapFree(). Found by Smatch.

parent daf1ed48
......@@ -178,10 +178,8 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
break;
}
if(su)
{
HeapFree(GetProcessHeap(), 0, su);
}
return status;
}
......
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