mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed memory leak in 07-callback.
This commit is contained in:
parent
d6cb01f72d
commit
62d646c522
1 changed files with 2 additions and 0 deletions
|
@ -238,6 +238,8 @@ struct BgfxCallback : public bgfx::CallbackI
|
|||
if (NULL != m_writer)
|
||||
{
|
||||
m_writer->close();
|
||||
delete m_writer;
|
||||
m_writer = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue