diff options
author | markus@openbsd.org <markus@openbsd.org> | 2015-01-12 14:05:19 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-01-13 19:25:52 +1100 |
commit | 905fe30fca82f38213763616d0d26eb6790bde33 (patch) | |
tree | 032112d47e5ccc137cc9b06c1471ae7d5358e2d2 | |
parent | f067cca2bc20c86b110174c3fef04086a7f57b13 (diff) |
upstream commit
free->sshkey_free; ok djm@
-rw-r--r-- | krl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||