aboutsummaryrefslogtreecommitdiff
path: root/examples/authentication.c
diff options
context:
space:
mode:
authorOliver Stöneberg <oliverst@online.de>2011-05-13 05:50:41 -0700
committerAndreas Schneider <asn@cryptomilk.org>2011-05-17 14:20:48 +0200
commit525324b2f9ee2bd9a39ba88267e76c88e7f58bd1 (patch)
treebf2cf28f8cc4ea3c3b6d7d04db7576ba74f4775c /examples/authentication.c
parente3311d03dba7ae281597cf5de235bcefda44457c (diff)
downloadlibssh-525324b2f9ee2bd9a39ba88267e76c88e7f58bd1.tar.gz
libssh-525324b2f9ee2bd9a39ba88267e76c88e7f58bd1.tar.xz
libssh-525324b2f9ee2bd9a39ba88267e76c88e7f58bd1.zip
examples: Use the right cleanup functions.
Diffstat (limited to 'examples/authentication.c')
-rw-r--r--examples/authentication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/authentication.c b/examples/authentication.c
index 0f236326..c233e300 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;