summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient/wbc_util.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-03 15:03:49 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:19 +0200
commit8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd (patch)
tree4664ca4d47e328a0e4807d15e206745079ce0da2 /nsswitch/libwbclient/wbc_util.c
parent1637be5c557e2e902568338c69967da6b0e7da27 (diff)
downloadsamba-8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd.tar.gz
samba-8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd.tar.bz2
samba-8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd.zip
libwbclient: Make wbcResolveWinsByIP not use talloc
Diffstat (limited to 'nsswitch/libwbclient/wbc_util.c')
-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 38fd1c5559..35e0b0b316 100644
--- a/nsswitch/libwbclient/wbc_util.c
+++ b/nsswitch/libwbclient/wbc_util.c
@@ -260,7 +260,7 @@ wbcErr wbcResolveWinsByIP(const char *ip, char **name)
/* Display response */
- name_str = talloc_strdup(NULL, response.data.winsresp);
+ name_str = wbcStrDup(response.data.winsresp);
BAIL_ON_PTR_ERROR(name_str, wbc_status);
*name = name_str;