summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/secrets.c2
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;
}