summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-03 13:48:22 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-03 13:48:22 +0300
commit73f57cc8b0355cabdac4ba69edc88e084ccc0a77 (patch)
tree256a7b344b5ff9db58b309da4374f2364e0f3981 /plugins/Scriver/src
parent851c8b5531786c2ebbfeec2dbfd3739e43ad3d8c (diff)
fixes #1818 (SkypeWeb: invalid data error on audio/video call)
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r--plugins/Scriver/src/msglog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp
index 11ae269256..bcea9f130e 100644
--- a/plugins/Scriver/src/msglog.cpp
+++ b/plugins/Scriver/src/msglog.cpp
@@ -116,6 +116,7 @@ EventData* getEventFromDB(CSrmmWindow *dat, MCONTACT hContact, MEVENT hDbEvent)
dbei.cbBlob = db_event_getBlobSize(hDbEvent);
if (dbei.cbBlob == -1)
return nullptr;
+
dbei.pBlob = (PBYTE)mir_alloc(dbei.cbBlob);
db_event_get(hDbEvent, &dbei);
if (!DbEventIsShown(dbei)) {