agent: Further frees in regards to memory leaks
Joshua Rogers
git at internot.info
Tue Dec 23 21:52:16 CET 2014
* agent/command.c free 'password_nonce' before return
Signed-off-by: Joshua Rogers <git at internot.info>
---
agent/command.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/agent/command.c b/agent/command.c
index 16f2218..62d1243 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -1788,6 +1788,7 @@ cmd_passwd (assuan_context_t ctx, char *line)
gcry_sexp_release (s_skey);
xfree (shadow_info);
xfree (cache_nonce);
+ xfree (passwd_nonce);
return leave_cmd (ctx, err);
}
--
1.9.1
More information about the Gnupg-devel
mailing list