Fixed a memory leak.
This commit is contained in:
parent
735839c19c
commit
b4789dc5ef
|
@ -90,6 +90,9 @@ SayHooksGetPublicChatTrigger(String:trigger[], maxlen)
|
|||
{
|
||||
strcopy(trigger, maxlen, "N/A");
|
||||
}
|
||||
|
||||
// Close the handle.
|
||||
CloseHandle(kvCore);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -126,4 +129,7 @@ SayHooksGetSilentChatTrigger(String:trigger[], maxlen)
|
|||
{
|
||||
strcopy(trigger, maxlen, "N/A");
|
||||
}
|
||||
|
||||
// Close the handle.
|
||||
CloseHandle(kvCore);
|
||||
}
|
Loading…
Reference in New Issue
Block a user