mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-29 12:15:30 +00: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