summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2019-09-05 05:43:00 +0000
committerDamien Miller <djm@cvs.openbsd.org>2019-09-05 05:43:00 +0000
commit2babf73dfa67c23484546fabf657db9d8093c01d (patch)
treeda77e3471e50d4e831d3486f781bb02ea1966662
parentf907b04895ea0bf65c3281a3afb7a87ba0081266 (diff)
memleak on error path; found by libfuzzer
-rw-r--r--usr.bin/ssh/sshsig.c2
1 files changed, 1 insertions, 1 deletions
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;
}