mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-06 18:08:36 +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())
|
||||
return;
|
||||
|
||||
m_pTrampoline = new void*;
|
||||
|
||||
m_pBridge = CreateBridge();
|
||||
if (!m_pBridge)
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user