summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-21 12:08:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-21 12:08:13 +0300
commit6445ee38941d5fffef72fa123078f16a87acbadb (patch)
tree0805fc74a32b2c8f9c0979204632f9630cef0c0b /protocols/JabberG/src
parent335a494074e464e8f7f6e90f195bcd7339518a89 (diff)
fixes #4288 (Jabber: broken IBB file transfers)
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_file.cpp b/protocols/JabberG/src/jabber_file.cpp
index 2a49b53d19..2694d49fa4 100644
--- a/protocols/JabberG/src/jabber_file.cpp
+++ b/protocols/JabberG/src/jabber_file.cpp
@@ -120,8 +120,8 @@ void CJabberProto::OnReceiveOfflineFile(DB::FILE_BLOB &blob)
if (ft->httpPath)
blob.setUrl(ft->httpPath);
blob.setSize(ft->dwExpectedRecvFileSize);
+ delete ft;
}
- delete ft;
}
}