summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-03 15:03:20 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:19 +0200
commit1637be5c557e2e902568338c69967da6b0e7da27 (patch)
tree878753e394ab16b0982fc55f7385ff1514350f5b /nsswitch
parentf3e87ecd2c18c5ed56fa018925685d10f9804af0 (diff)
downloadsamba-1637be5c557e2e902568338c69967da6b0e7da27.tar.gz
samba-1637be5c557e2e902568338c69967da6b0e7da27.tar.bz2
samba-1637be5c557e2e902568338c69967da6b0e7da27.zip
libwbclient: Make wbcResolveWinsByName not use talloc
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 4e2c4557d7..38fd1c5559 100644
--- a/nsswitch/libwbclient/wbc_util.c
+++ b/nsswitch/libwbclient/wbc_util.c
@@ -227,7 +227,7 @@ wbcErr wbcResolveWinsByName(const char *name, char **ip)
/* Display response */
- ipaddr = talloc_strdup(NULL, response.data.winsresp);
+ ipaddr = wbcStrDup(response.data.winsresp);
BAIL_ON_PTR_ERROR(ipaddr, wbc_status);
*ip = ipaddr;