mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-30 13:01:23 +03:00
knownhosts: Use SSH_BUFFER_FREE()
Fixes T183 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -129,8 +129,8 @@ static int match_hashed_hostname(const char *host, const char *hashed_host)
|
|||||||
|
|
||||||
error:
|
error:
|
||||||
free(hashed);
|
free(hashed);
|
||||||
ssh_buffer_free(salt);
|
SSH_BUFFER_FREE(salt);
|
||||||
ssh_buffer_free(hash);
|
SSH_BUFFER_FREE(hash);
|
||||||
|
|
||||||
return match;
|
return match;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user