diff options
Diffstat (limited to 'examples/authentication.c')
-rw-r--r-- | examples/authentication.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/authentication.c b/examples/authentication.c index 0f23632..c233e30 100644 --- a/examples/authentication.c +++ b/examples/authentication.c @@ -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; |