diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 09:15:29 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-08-16 09:15:29 +0200 |
commit | c5028e76ad2fa5ba6cd8a6fcd9761458ef73dc93 (patch) | |
tree | 2240fef67632ab0be3192acbc6e80ae4391b0b2d | |
parent | df29df6e3519ca0e40ea4fa7e148eed3c49f9841 (diff) | |
download | libssh-c5028e76ad2fa5ba6cd8a6fcd9761458ef73dc93.tar.gz libssh-c5028e76ad2fa5ba6cd8a6fcd9761458ef73dc93.tar.xz libssh-c5028e76ad2fa5ba6cd8a6fcd9761458ef73dc93.zip |
pki: Fix memleak in pki_import_pubkey_buffer().
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -443,6 +443,8 @@ static int pki_import_pubkey_buffer(ssh_session session, ssh_string_free(q); ssh_string_burn(g); ssh_string_free(g); + ssh_string_burn(pubkey); + ssh_string_free(pubkey); if (rc == SSH_ERROR) { goto fail; } |