Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.
authorGerald (Jerry) Carter <jerry@samba.org>
Wed, 2 Jan 2008 20:50:59 +0000 (14:50 -0600)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 2 Jan 2008 20:50:59 +0000 (14:50 -0600)
commit701a56a698b580b21bfb0df73401ffe2d05f6f19
tree891890cc1965e77e2d9f9fc456e282d614b713a5
parent4656265a2337db1ef99769a6b30c0cf04fdd6cff
Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.

Follows existing convention that all returned memory should be freed with
wbcFreeMemory() and not directly with free().  Noticed by Volker.  Txs.
(This used to be commit 39c2059f66ee9eb471a503b9c776807b91c2a8f8)
source3/lib/winbind_util.c
source3/nsswitch/libwbclient/wbc_sid.c
source3/nsswitch/libwbclient/wbc_util.c