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

examples: Fix some memory leaks.

(cherry picked from commit 644145a88c)
This commit is contained in:
Andreas Schneider
2011-04-15 19:05:53 +02:00
parent b1d58c5454
commit e096658df3
3 changed files with 16 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ int main(void) {
ssh_channel_send_eof(channel);
ssh_channel_close(channel);
ssh_channel_free(channel);
ssh_disconnect(session);
ssh_free(session);
ssh_finalize();