libwbclient: Add wbcAllocateMemory()
commitf2a04a0ccb7276dcd23efeade59368540c6570b2
authorVolker Lendecke <vl@samba.org>
Tue, 6 Apr 2010 20:10:22 +0000 (6 22:10 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 Apr 2010 12:27:16 +0000 (19 14:27 +0200)
treef9111fc59545f07df81cf68a332714251aa069a8
parent456351cdb184f59374cecec8d7c44add29b986dd
libwbclient: Add wbcAllocateMemory()

This prepares for removing libwbclient's talloc dependency. It is a
non-hierarchical "talloc-lite" that has destructors. It is necessary because we
have the catch-call wbcFreeMemory call. Individual wbcFreeXXX calls for the
different structures wbclient returns would have made this easier, but
wbcFreeMemory is the API we have to live with.
nsswitch/libwbclient/wbclient.c
nsswitch/libwbclient/wbclient_internal.h