summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp/tdeio_sftp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/sftp/tdeio_sftp.cpp')
-rw-r--r--tdeioslave/sftp/tdeio_sftp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeioslave/sftp/tdeio_sftp.cpp b/tdeioslave/sftp/tdeio_sftp.cpp
index 59428ea22..e3f7494d1 100644
--- a/tdeioslave/sftp/tdeio_sftp.cpp
+++ b/tdeioslave/sftp/tdeio_sftp.cpp
@@ -599,7 +599,7 @@ sftpProtocol::~sftpProtocol() {
#endif
closeConnection();
- delete mCallbacks;
+ free(mCallbacks);
/* cleanup and shut down cryto stuff */
ssh_finalize();