1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-31 00:03:07 +03:00

examples: Use the right cleanup functions.

This commit is contained in:
Oliver Stöneberg
2011-05-13 05:50:41 -07:00
committed by Andreas Schneider
parent e3311d03db
commit 525324b2f9
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;