upstream commit

free->sshkey_free; ok djm@
This commit is contained in:
markus@openbsd.org 2015-01-12 14:05:19 +00:00 committed by Damien Miller
parent f067cca2bc
commit 905fe30fca

4
krl.c
View File

@ -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 "includes.h"
@ -369,7 +369,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;
}