summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2015-01-12 14:05:20 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2015-01-12 14:05:20 +0000
commit8bb68394456e281c812bc0a3c1e0a7fafaa01345 (patch)
tree86ca8ca228360155fe20055efa0be6d9cd8041bf
parentf89cb92e68423606d091b3d6e8f889eb34f0c528 (diff)
free->sshkey_free; ok djm@
-rw-r--r--usr.bin/ssh/krl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/krl.c b/usr.bin/ssh/krl.c
index 977535f5012..d3cbfd51f8c 100644
--- a/usr.bin/ssh/krl.c
+++ b/usr.bin/ssh/krl.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: krl.c,v 1.22 2015/01/08 10:14:08 djm Exp $ */
+/* $OpenBSD: krl.c,v 1.23 2015/01/12 14:05:19 markus Exp $ */
#include <sys/types.h>
#include <sys/param.h>
@@ -367,7 +367,7 @@ plain_key_blob(const struct sshkey *key, u_char **blob, size_t *blen)
}
}
r = sshkey_to_blob(kcopy, blob, blen);
- free(kcopy);
+ sshkey_free(kcopy);
return r;
}