From 2babf73dfa67c23484546fabf657db9d8093c01d Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 5 Sep 2019 05:43:00 +0000 Subject: memleak on error path; found by libfuzzer --- usr.bin/ssh/sshsig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ssh/sshsig.c b/usr.bin/ssh/sshsig.c index 0c89eaec573..013cf68f352 100644 --- a/usr.bin/ssh/sshsig.c +++ b/usr.bin/ssh/sshsig.c @@ -656,7 +656,7 @@ sshsigopt_parse(const char *opts, const char *path, u_long linenum, fail: if (errstrp != NULL) *errstrp = errstr; - free(ret); + sshsigopt_free(ret); return NULL; } -- cgit v1.2.3