From 69159afe24120c97e5ebaf81016c85968afb903e Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Thu, 5 Sep 2019 05:42:59 +0000 Subject: upstream: memleak on error path; found by libfuzzer OpenBSD-Commit-ID: 34d44cb0fb5bdb5fcbc6b02b804e71b20a7a5fc7 --- sshsig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshsig.c b/sshsig.c index bda57b30e..b993b7c1e 100644 --- a/sshsig.c +++ b/sshsig.c @@ -658,7 +658,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