mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-07 02:18:35 +00:00
Don't leak memory
This commit is contained in:
parent
38827bb1ca
commit
8371eb805c
@ -63,8 +63,6 @@ CHook::CHook(void* pFunc, ICallingConvention* pConvention)
|
|||||||
if (!m_RetAddr.init())
|
if (!m_RetAddr.init())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_pTrampoline = new void*;
|
|
||||||
|
|
||||||
m_pBridge = CreateBridge();
|
m_pBridge = CreateBridge();
|
||||||
if (!m_pBridge)
|
if (!m_pBridge)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user