mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Fix memory leak in error case
This commit is contained in:
@@ -2423,7 +2423,10 @@ void BufferViewer::OnEventChanged(uint32_t eventId)
|
||||
}
|
||||
|
||||
if(!me)
|
||||
{
|
||||
delete buf;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
GUIInvoke::call(this, [this, buf, bufdata]() {
|
||||
|
||||
Reference in New Issue
Block a user