1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

libwbclient: Make wbcLibraryDetails not use talloc

This commit is contained in:
Volker Lendecke 2010-04-06 22:14:03 +02:00
parent f2a04a0ccb
commit 769997786c

View File

@ -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;
}