libwbclient: wbcFreeMemory deals fine with a NULL pointer
authorVolker Lendecke <vl@samba.org>
Mon, 19 Apr 2010 13:56:30 +0000 (15:56 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 Apr 2010 14:31:03 +0000 (16:31 +0200)
nsswitch/libwbclient/wbc_sid.c

index 63d566fa9f9aee3d499de28ebfac66b1c26cf0b5..73bd4162472c1f3cfbfb1d29122807f8f24201ca 100644 (file)
@@ -672,9 +672,7 @@ wbcErr wbcListUsers(const char *domain_name,
 
  done:
        winbindd_free_response(&response);
-       if (users) {
-               wbcFreeMemory(users);
-       }
+       wbcFreeMemory(users);
        return wbc_status;
 }