Thread: ADT Arrays
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 02-02-2014 , 19:51   Re: ADT Arrays
Reply With Quote #2

Yes. Because you haven't closed the first array handle, that Handle (and its contents) have been leaked.

Either use ClearArray instead of CreateArray for the second one or CloseHandle g_Array first.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 02-02-2014 at 19:52.
Powerlord is offline