summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_filerequests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_filerequests.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_filerequests.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/src/icq_filerequests.cpp b/protocols/IcqOscarJ/src/icq_filerequests.cpp
index f1855ce4b4..63a3bcd1ec 100644
--- a/protocols/IcqOscarJ/src/icq_filerequests.cpp
+++ b/protocols/IcqOscarJ/src/icq_filerequests.cpp
@@ -185,8 +185,7 @@ void CIcqProto::icq_CancelFileTransfer(filetransfer* ft)
ProtoBroadcastAck(ft->hContact, ACKTYPE_FILE, ACKRESULT_FAILED, ft, 0);
- if (!FindFileTransferDC(ft)) { // Release orphan structure only
- SafeReleaseFileTransfer((void**)&ft);
- }
+ if (!FindFileTransferDC(ft)) // Release orphan structure only
+ SafeReleaseFileTransfer((basic_filetransfer**)&ft);
}
}