diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-10 12:04:16 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-10-10 12:04:16 +0200 |
commit | 37a4a65d60d2ee0a692dc778d21fe2c9b42150bd (patch) | |
tree | 2c3a0bc6e47afa109dc34112bc71879d3122114e | |
parent | ccd886feb40b89eb3b4a00d126806a1e81f4e5da (diff) | |
download | libssh-37a4a65d60d2ee0a692dc778d21fe2c9b42150bd.tar.gz libssh-37a4a65d60d2ee0a692dc778d21fe2c9b42150bd.tar.xz libssh-37a4a65d60d2ee0a692dc778d21fe2c9b42150bd.zip |
Add ssh_free at the end
-rw-r--r-- | examples/sample.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/sample.c b/examples/sample.c index 0a8cc86..9ed2470 100644 --- a/examples/sample.c +++ b/examples/sample.c @@ -699,6 +699,7 @@ int main(int argc, char **argv){ if(!sftp && !cmds[0]) do_cleanup(0); ssh_disconnect(session); + ssh_free(session); ssh_finalize(); return 0; |