diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-09-05 05:42:59 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-05 15:44:19 +1000 |
commit | 69159afe24120c97e5ebaf81016c85968afb903e (patch) | |
tree | 8be29e20ecafdba18bb836a488641ecef6c32514 | |
parent | bab6feb01f9924758ca7129dba708298a53dde5f (diff) |
upstream: memleak on error path; found by libfuzzer
OpenBSD-Commit-ID: 34d44cb0fb5bdb5fcbc6b02b804e71b20a7a5fc7
-rw-r--r-- | sshsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -658,7 +658,7 @@ sshsigopt_parse(const char *opts, const char *path, u_long linenum, | |||
658 | fail: | 658 | fail: |
659 | if (errstrp != NULL) | 659 | if (errstrp != NULL) |
660 | *errstrp = errstr; | 660 | *errstrp = errstr; |
661 | free(ret); | 661 | sshsigopt_free(ret); |
662 | return NULL; | 662 | return NULL; |
663 | } | 663 | } |
664 | 664 | ||