diff options
author | Volker Lendecke <vl@samba.org> | 2010-01-02 20:09:31 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-01-03 11:38:22 +0100 |
commit | 6ada1f250b987ddedfb744b9009be93513b3a5a2 (patch) | |
tree | a2038575060a6b02114e51b299a5d5b72d209bb7 /nsswitch/libwbclient | |
parent | 6edfbbd79b958d7341bf25fc7fa6675cefc4e041 (diff) | |
download | samba-6ada1f250b987ddedfb744b9009be93513b3a5a2.tar.gz samba-6ada1f250b987ddedfb744b9009be93513b3a5a2.tar.bz2 samba-6ada1f250b987ddedfb744b9009be93513b3a5a2.zip |
libwbclient: Remove a pointless check
We have dereferenced "blobs" before
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r-- | nsswitch/libwbclient/wbc_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbc_util.c b/nsswitch/libwbclient/wbc_util.c index 16828ae5df..24699e91c4 100644 --- a/nsswitch/libwbclient/wbc_util.c +++ b/nsswitch/libwbclient/wbc_util.c @@ -669,7 +669,7 @@ wbcErr wbcAddNamedBlob(size_t *num_blobs, wbc_status = WBC_ERR_SUCCESS; done: - if (!WBC_ERROR_IS_OK(wbc_status) && blobs) { + if (!WBC_ERROR_IS_OK(wbc_status)) { wbcFreeMemory(*blobs); } return wbc_status; |