aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sftp.c b/src/sftp.c
index a224112..81fa1d8 100644
--- a/src/sftp.c
+++ b/src/sftp.c
@@ -242,6 +242,9 @@ void sftp_free(sftp_session sftp){
}
ssh_channel_free(sftp->channel);
+
+ SAFE_FREE(sftp->handles);
+
sftp_ext_free(sftp->ext);
ZERO_STRUCTP(sftp);