1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-05 20:55:46 +03:00

examples: Use the right cleanup functions.

(cherry picked from commit 525324b2f9)
This commit is contained in:
Oliver Stöneberg
2011-05-13 05:50:41 -07:00
committed by Andreas Schneider
parent 8154e24027
commit 9c8f285a98
2 changed files with 9 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ int authenticate_console(ssh_session session){
banner = ssh_get_issue_banner(session);
if (banner) {
printf("%s\n",banner);
free(banner);
ssh_string_free_char(banner);
}
return rc;