mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:passdb: Fix a memory leak in secrets_fetch_or_upgrade_domain_info()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Mon Nov 13 14:05:46 CET 2017 on sn-devel-144
This commit is contained in:
parent
142f778c73
commit
f56ce215c7
@ -1476,6 +1476,7 @@ NTSTATUS secrets_fetch_or_upgrade_domain_info(const char *domain,
|
||||
DBG_ERR("secrets_domain_info_password_create(pw) failed "
|
||||
"for %s - %s\n", domain, nt_errstr(status));
|
||||
dbwrap_transaction_cancel(db);
|
||||
SAFE_FREE(old_pw);
|
||||
TALLOC_FREE(frame);
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user