diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2015-09-09 09:32:40 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2015-09-09 09:32:40 +0200 |
commit | 1254ed1833b4a09409f57ba5e3b45573ecfde89f (patch) | |
tree | 3c927d2489825821f08cbcdad5dc4801fcc6cd20 | |
parent | f55b10e4edd2d32b1c9b5492b40e3007d00f1c50 (diff) | |
download | libssh-1254ed1833b4a09409f57ba5e3b45573ecfde89f.tar.gz libssh-1254ed1833b4a09409f57ba5e3b45573ecfde89f.tar.xz libssh-1254ed1833b4a09409f57ba5e3b45573ecfde89f.zip |
pki: Fix a memory leak in pki_import_cert_buffer()
CID #1323517
-rw-r--r-- | src/pki.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -859,6 +859,7 @@ static int pki_import_cert_buffer(ssh_buffer buffer, goto fail; } rc = buffer_add_ssh_string(cert, type_s); + ssh_string_free(type_s); if (rc != 0) { goto fail; } |