Fix memory leak in error case

This commit is contained in:
baldurk
2020-02-13 11:01:44 +00:00
parent dd69f8642a
commit 9c091cf791
+3
View File
@@ -2423,7 +2423,10 @@ void BufferViewer::OnEventChanged(uint32_t eventId)
}
if(!me)
{
delete buf;
return;
}
}
GUIInvoke::call(this, [this, buf, bufdata]() {