mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 12:42:34 +01:00
Fix DbgHelpSymbolResolve segfault in destructor if m_symInitialize failed in constructor. (#352)
This commit is contained in:
@@ -811,8 +811,11 @@ namespace bx
|
||||
}
|
||||
|
||||
void cleanup()
|
||||
{
|
||||
if(NULL != m_symCleanup)
|
||||
{
|
||||
m_symCleanup(kCurrentProcess);
|
||||
}
|
||||
|
||||
m_symInitialize = NULL;
|
||||
m_symCleanup = NULL;
|
||||
|
||||
Reference in New Issue
Block a user