netapi32: Remove redundant NULL check before HeapFree(). Found by Smatch.
This commit is contained in:
parent
daf1ed48c3
commit
28a7d58837
|
@ -178,10 +178,8 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
|
|||
break;
|
||||
}
|
||||
|
||||
if(su)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, su);
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, su);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue