diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-07 08:50:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-07 08:50:02 +0200 |
commit | 8c98f5af6f0e8102b443247ba5b8b75b5b6df147 (patch) | |
tree | 7e044618c04f72cd85d75eb0bfb70669df277a61 /source3/passdb | |
parent | 32452565be35ef517356ba7ac10e54e65319c829 (diff) | |
download | samba-8c98f5af6f0e8102b443247ba5b8b75b5b6df147.tar.gz samba-8c98f5af6f0e8102b443247ba5b8b75b5b6df147.tar.bz2 samba-8c98f5af6f0e8102b443247ba5b8b75b5b6df147.zip |
Fix a memleak in secrets_fetch_trust_account_password_legacy
Coverity ID 571
(This used to be commit a551773e34af1c118f77784a285e1b885da8655d)
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/secrets.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index d6a0e89bba..ffe9e45036 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -399,6 +399,7 @@ bool secrets_fetch_trust_account_password_legacy(const char *domain, if (size != sizeof(*pass)) { DEBUG(0, ("secrets were of incorrect size!\n")); + SAFE_FREE(pass); return False; } |