diff options
Diffstat (limited to 'libssh/dh.c')
-rw-r--r-- | libssh/dh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/dh.c b/libssh/dh.c index ccfc6cdc..619a4d2a 100644 --- a/libssh/dh.c +++ b/libssh/dh.c @@ -831,6 +831,7 @@ int ssh_get_pubkey_hash(SSH_SESSION *session, unsigned char **hash) { ctx = md5_init(); if (ctx == NULL) { + SAFE_FREE(h); return -1; } |