git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3e87ec
)
libwbclient: Make wbcResolveWinsByName not use talloc
author
Volker Lendecke
<vl@samba.org>
Sat, 3 Apr 2010 13:03:20 +0000
(15:03 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 19 Apr 2010 12:27:19 +0000
(14:27 +0200)
nsswitch/libwbclient/wbc_util.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_util.c
b/nsswitch/libwbclient/wbc_util.c
index 4e2c4557d741986b1f3bc576bb1d6ace0a90e851..38fd1c555928286949f28d19be58bafb68c972c1 100644
(file)
--- 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;