aboutsummaryrefslogtreecommitdiff
path: root/samplesshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'samplesshd.c')
-rw-r--r--samplesshd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samplesshd.c b/samplesshd.c
index c6088d0b..3e98b3e5 100644
--- a/samplesshd.c
+++ b/samplesshd.c
@@ -148,7 +148,9 @@ int main(int argc, char **argv){
if(i>0)
write(1,buffer_get(buf),buffer_get_len(buf));
} while (i>0);
+ buffer_free(buf);
ssh_disconnect(session);
+ ssh_bind_free(ssh_bind);
ssh_finalize();
return 0;
}