Thread
: [Solved]
Memory leakage caused by not destroying menu properly
View Single Post
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
07-22-2021 , 19:54 Re: Invalid array handler
#
6
Invalid_Array is 0 not -1
Quote:
/**
* Cellarray tag declaration
*
* @note These dynamic arrays are intended to be used for a form of global
* storage without requiring a #define that needs to be increased each
* time the plugin author requires more storage. These are not designed
* to be a full replacement for normal arrays, as those are faster and
* should be used whenever possible.
* @note Plugins are responsible for freeing all Array handles they acquire,
* including those from ArrayClone. Failing to free handles will result
* in the plugin and AMXX leaking memory.
*/
enum Array
{
Invalid_Array = 0
};
__________________
CrazY.
View Public Profile
Send a private message to CrazY.
Find More Posts by CrazY.