diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-06 22:14:03 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-19 14:27:16 +0200 |
commit | 769997786c62770873315363c5dc20661657fcbd (patch) | |
tree | a1a6dfefea550de041d6554fca9bc6e5b97f9a4e /nsswitch/libwbclient | |
parent | f2a04a0ccb7276dcd23efeade59368540c6570b2 (diff) | |
download | samba-769997786c62770873315363c5dc20661657fcbd.tar.gz samba-769997786c62770873315363c5dc20661657fcbd.tar.bz2 samba-769997786c62770873315363c5dc20661657fcbd.zip |
libwbclient: Make wbcLibraryDetails not use talloc
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r-- | nsswitch/libwbclient/wbclient.c | 4 |
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; } |