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:
parent
f2a04a0ccb
commit
769997786c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user