netapi32: Fix valgrind warnings.
For now, those pointers are always null, anyway.
This commit is contained in:
parent
b0bc8e58de
commit
bb4ba8e21b
|
@ -180,9 +180,6 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
|
|||
|
||||
if(su)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, su->home_dir);
|
||||
HeapFree(GetProcessHeap(), 0, su->user_comment);
|
||||
HeapFree(GetProcessHeap(), 0, su->user_logon_script_path);
|
||||
HeapFree(GetProcessHeap(), 0, su);
|
||||
}
|
||||
return status;
|
||||
|
|
Loading…
Reference in New Issue