summaryrefslogtreecommitdiff
path: root/protocols/Sametime/src/files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Sametime/src/files.cpp')
-rw-r--r--protocols/Sametime/src/files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Sametime/src/files.cpp b/protocols/Sametime/src/files.cpp
index f0df47200d..4782563a7e 100644
--- a/protocols/Sametime/src/files.cpp
+++ b/protocols/Sametime/src/files.cpp
@@ -167,7 +167,7 @@ void mwFileTransfer_closed(mwFileTransfer* ft, guint32 code)
FileTransferClientData *ftcd_temp = ftcd_next->next;
if (ftcd_next->hFile != INVALID_HANDLE_VALUE)
- CloseHandle(ftcd->hFile);
+ CloseHandle(ftcd_next->hFile);
if (ftcd_next->save_path)
free(ftcd_next->save_path);