1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-28 01:41:48 +03:00

examples: Fix some memory leaks.

This commit is contained in:
Andreas Schneider
2011-04-15 19:05:53 +02:00
parent ef658b4bef
commit 644145a88c
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();