From 769997786c62770873315363c5dc20661657fcbd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 6 Apr 2010 22:14:03 +0200 Subject: libwbclient: Make wbcLibraryDetails not use talloc --- nsswitch/libwbclient/wbclient.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nsswitch/libwbclient') 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; } -- cgit