diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-10-31 09:40:08 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-12-09 16:08:03 +0100 |
commit | f422fb02f678992a8702f371fb46a07b6410f390 (patch) | |
tree | 7c9d83030a03424ed757ec7095b9b7dd6d122a59 /src | |
parent | b719f705c66d7c50b665946a45d0ddf07c5043d5 (diff) | |
download | libssh-f422fb02f678992a8702f371fb46a07b6410f390.tar.gz libssh-f422fb02f678992a8702f371fb46a07b6410f390.tar.xz libssh-f422fb02f678992a8702f371fb46a07b6410f390.zip |
pki_container_openssh: Use SSH_STRING_FREE
Fixes T183
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/pki_container_openssh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pki_container_openssh.c b/src/pki_container_openssh.c index 705cd19a..f7ec0f4c 100644 --- a/src/pki_container_openssh.c +++ b/src/pki_container_openssh.c @@ -701,7 +701,7 @@ ssh_string ssh_pki_openssh_privkey_export(const ssh_key privkey, str_len = ssh_buffer_get_len(buffer); len = ssh_buffer_get_data(buffer, ssh_string_data(str), str_len); if (str_len != len) { - ssh_string_free(str); + SSH_STRING_FREE(str); str = NULL; } |