summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-03-27 20:57:45 +0200
committerVolker Lendecke <vl@samba.org>2011-03-27 22:22:11 +0200
commit240aeeb588a1c3f7f05efcf313cde3d06cce7720 (patch)
tree4f6a0b94586110ab85f1f3d638fed6a68cf6453c
parent6bee354377719f1227e0cdc8c44bc8bc86691cd5 (diff)
downloadsamba-240aeeb588a1c3f7f05efcf313cde3d06cce7720.tar.gz
samba-240aeeb588a1c3f7f05efcf313cde3d06cce7720.tar.bz2
samba-240aeeb588a1c3f7f05efcf313cde3d06cce7720.zip
s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)
-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 6d7a96c898..d783ba36d8 100644
--- a/nsswitch/libwbclient/wbc_util.c
+++ b/nsswitch/libwbclient/wbc_util.c
@@ -234,7 +234,7 @@ wbcErr wbcDcInfo(const char *domain, size_t *num_dcs,
BAIL_ON_PTR_ERROR(names, wbc_status);
ips = wbcAllocateStringArray(response.data.num_entries);
- BAIL_ON_PTR_ERROR(names, wbc_status);
+ BAIL_ON_PTR_ERROR(ips, wbc_status);
wbc_status = WBC_ERR_INVALID_RESPONSE;