1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

Fix memleak in netsamlogon_cache_get().

Guenther
(This used to be commit b736c77dc6)
This commit is contained in:
Günther Deschner
2008-02-28 23:15:11 +01:00
parent 76de025c72
commit bddceee09a

View File

@ -226,6 +226,7 @@ struct netr_SamInfo3 *netsamlogon_cache_get(TALLOC_CTX *mem_ctx, const DOM_SID *
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
DEBUG(0,("netsamlogon_cache_get: failed to pull entry from cache\n"));
tdb_delete(netsamlogon_tdb, data);
TALLOC_FREE(info3);
goto done;
}