summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-06 22:14:03 +0200
committerVolker Lendecke <vl@samba.org>2010-04-19 14:27:16 +0200
commit769997786c62770873315363c5dc20661657fcbd (patch)
treea1a6dfefea550de041d6554fca9bc6e5b97f9a4e /nsswitch
parentf2a04a0ccb7276dcd23efeade59368540c6570b2 (diff)
downloadsamba-769997786c62770873315363c5dc20661657fcbd.tar.gz
samba-769997786c62770873315363c5dc20661657fcbd.tar.bz2
samba-769997786c62770873315363c5dc20661657fcbd.zip
libwbclient: Make wbcLibraryDetails not use talloc
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/libwbclient/wbclient.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbclient.c b/nsswitch/libwbclient/wbclient.c
index 6b076ad499..ea6c24ccc3 100644
--- a/nsswitch/libwbclient/wbclient.c
+++ b/nsswitch/libwbclient/wbclient.c
@@ -209,7 +209,9 @@ wbcErr wbcLibraryDetails(struct wbcLibraryDetails **_details)
{
struct wbcLibraryDetails *info;
- info = talloc(NULL, struct wbcLibraryDetails);
+ info = (struct wbcLibraryDetails *)wbcAllocateMemory(
+ 1, sizeof(struct wbcLibraryDetails), NULL);
+
if (info == NULL) {
return WBC_ERR_NO_MEMORY;
}