mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed memory leak in 07-callback.
This commit is contained in:
@@ -238,6 +238,8 @@ struct BgfxCallback : public bgfx::CallbackI
|
||||
if (NULL != m_writer)
|
||||
{
|
||||
m_writer->close();
|
||||
delete m_writer;
|
||||
m_writer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user