summaryrefslogtreecommitdiff
path: root/krl.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-12 14:05:19 +0000
committerDamien Miller <djm@mindrot.org>2015-01-13 19:25:52 +1100
commit905fe30fca82f38213763616d0d26eb6790bde33 (patch)
tree032112d47e5ccc137cc9b06c1471ae7d5358e2d2 /krl.c
parentf067cca2bc20c86b110174c3fef04086a7f57b13 (diff)
upstream commit
free->sshkey_free; ok djm@
Diffstat (limited to 'krl.c')
-rw-r--r--krl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/krl.c b/krl.c
index 711d370fe..5fa74636f 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $OpenBSD: krl.c,v 1.22 2015/01/08 10:14:08 djm Exp $ */ 17/* $OpenBSD: krl.c,v 1.23 2015/01/12 14:05:19 markus Exp $ */
18 18
19#include "includes.h" 19#include "includes.h"
20 20
@@ -369,7 +369,7 @@ plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
369 } 369 }
370 } 370 }
371 r = sshkey_to_blob(kcopy, blob, blen); 371 r = sshkey_to_blob(kcopy, blob, blen);
372 free(kcopy); 372 sshkey_free(kcopy);
373 return r; 373 return r;
374} 374}
375 375