git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1637be5
)
libwbclient: Make wbcResolveWinsByIP not use talloc
author
Volker Lendecke
<vl@samba.org>
Sat, 3 Apr 2010 13:03:49 +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 38fd1c555928286949f28d19be58bafb68c972c1..35e0b0b31644926849657f8965211396b5332e04 100644
(file)
--- 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;