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

This commit is contained in:
Michael Stefaniuc 2007-11-17 19:15:22 +01:00 committed by Alexandre Julliard
parent daf1ed48c3
commit 28a7d58837
1 changed files with 2 additions and 4 deletions

View File

@ -178,10 +178,8 @@ NET_API_STATUS WINAPI NetUserAdd(LPCWSTR servername,
break;
}
if(su)
{
HeapFree(GetProcessHeap(), 0, su);
}
HeapFree(GetProcessHeap(), 0, su);
return status;
}