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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user