git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3edf8
)
libwbclient: Make wbcGetDisplayName not use talloc
author
Volker Lendecke
<vl@samba.org>
Sat, 3 Apr 2010 12:33:17 +0000
(14:33 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 19 Apr 2010 12:27:18 +0000
(14:27 +0200)
nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_sid.c
b/nsswitch/libwbclient/wbc_sid.c
index c5a1d34ae6f20b0bb9acb9c06428c9a85880d001..5a003b1f8840318ebdbdcd0e632d07af95db9460 100644
(file)
--- a/
nsswitch/libwbclient/wbc_sid.c
+++ b/
nsswitch/libwbclient/wbc_sid.c
@@
-766,7
+766,7
@@
wbcErr wbcGetDisplayName(const struct wbcDomainSid *sid,
wbcFreeMemory(name);
- name =
talloc_strdup(NULL,
pwd->pw_gecos);
+ name =
wbcStrDup(
pwd->pw_gecos);
BAIL_ON_PTR_ERROR(name, wbc_status);
wbcFreeMemory(pwd);
}