summaryrefslogtreecommitdiffstats
path: root/agent/findkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/findkey.c')
-rw-r--r--agent/findkey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/findkey.c b/agent/findkey.c
index 8efb7b320..e78feaa9c 100644
--- a/agent/findkey.c
+++ b/agent/findkey.c
@@ -1184,6 +1184,7 @@ read_key_file (ctrl_t ctrl, const unsigned char *grip,
}
leave:
+ xfree (buf);
if (!err && r_keymeta)
*r_keymeta = pk;
else