diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-03 15:03:20 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-19 14:27:19 +0200 |
commit | 1637be5c557e2e902568338c69967da6b0e7da27 (patch) | |
tree | 878753e394ab16b0982fc55f7385ff1514350f5b /nsswitch | |
parent | f3e87ecd2c18c5ed56fa018925685d10f9804af0 (diff) | |
download | samba-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.c | 2 |
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; |