summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-02 20:09:31 +0100
committerVolker Lendecke <vl@samba.org>2010-01-03 11:38:22 +0100
commit6ada1f250b987ddedfb744b9009be93513b3a5a2 (patch)
treea2038575060a6b02114e51b299a5d5b72d209bb7 /nsswitch
parent6edfbbd79b958d7341bf25fc7fa6675cefc4e041 (diff)
downloadsamba-6ada1f250b987ddedfb744b9009be93513b3a5a2.tar.gz
samba-6ada1f250b987ddedfb744b9009be93513b3a5a2.tar.bz2
samba-6ada1f250b987ddedfb744b9009be93513b3a5a2.zip
libwbclient: Remove a pointless check
We have dereferenced "blobs" before
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbc_util.c2
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;