summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/file_transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/file_transfer.h')
-rw-r--r--plugins/Dropbox/src/file_transfer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Dropbox/src/file_transfer.h b/plugins/Dropbox/src/file_transfer.h
index 9dbaf97073..35d18bbf08 100644
--- a/plugins/Dropbox/src/file_transfer.h
+++ b/plugins/Dropbox/src/file_transfer.h
@@ -36,6 +36,9 @@ struct FileTransferParam
~FileTransferParam()
{
+ if (pfts.wszWorkingDir)
+ mir_free(pfts.wszWorkingDir);
+
if (pfts.pszFiles)
{
for (int i = 0; pfts.pszFiles[i]; i++)