diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-07 08:51:35 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-07 08:51:35 +0200 |
commit | 0e7d1aae2f4767d3744aeb1eab15ed793e71db74 (patch) | |
tree | 4f1748ff18524dce9ae96627c76b47170abbdfe3 /source3 | |
parent | 8c98f5af6f0e8102b443247ba5b8b75b5b6df147 (diff) | |
download | samba-0e7d1aae2f4767d3744aeb1eab15ed793e71db74.tar.gz samba-0e7d1aae2f4767d3744aeb1eab15ed793e71db74.tar.bz2 samba-0e7d1aae2f4767d3744aeb1eab15ed793e71db74.zip |
Fix a memleak in secrets_fetch_afs_key
Coverity ID 570
(This used to be commit 0f52dc3f7eae7e87b8a71bd099b99b0b3e76a387)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index ffe9e45036..fc01aa19b9 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -1063,6 +1063,8 @@ bool secrets_fetch_afs_key(const char *cell, struct afs_key *result) result->kvno = ntohl(result->kvno); + SAFE_FREE(keyfile); + return True; } |