diff options
author | Gerald (Jerry) Carter <jerry@samba.org> | 2008-01-02 14:50:59 -0600 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2008-01-02 14:50:59 -0600 |
commit | 701a56a698b580b21bfb0df73401ffe2d05f6f19 (patch) | |
tree | 891890cc1965e77e2d9f9fc456e282d614b713a5 /source3/nsswitch/libwbclient/wbc_util.c | |
parent | 4656265a2337db1ef99769a6b30c0cf04fdd6cff (diff) | |
download | samba-701a56a698b580b21bfb0df73401ffe2d05f6f19.tar.gz samba-701a56a698b580b21bfb0df73401ffe2d05f6f19.tar.bz2 samba-701a56a698b580b21bfb0df73401ffe2d05f6f19.zip |
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)
Diffstat (limited to 'source3/nsswitch/libwbclient/wbc_util.c')
-rw-r--r-- | source3/nsswitch/libwbclient/wbc_util.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_util.c b/source3/nsswitch/libwbclient/wbc_util.c index c6acb27e55..7eb19731a7 100644 --- a/source3/nsswitch/libwbclient/wbc_util.c +++ b/source3/nsswitch/libwbclient/wbc_util.c @@ -51,10 +51,6 @@ wbcErr wbcPing(void) * * @return #wbcErr * - * The char* members of the struct wbcDomainInfo* are malloc()'d - * and it the the responsibility of the caller to free the members - * before discarding the struct. - * **/ |