Raised This Month: $12 Target: $400
 3% 

Issue Memory Leak: store-loadouts.smx


Post New Thread Reply   
 
Thread Tools Display Modes
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 06-22-2016 , 18:59   Re: Memory Leak: store-loadouts.smx
Reply With Quote #11

Quote:
Originally Posted by Potato Uno View Post
Sourcemod never closes handles for you. You must clean up all handles you make by yourself.

Some natives might close it for you but not all.
That is not what I meant:
Code:
 * To use it, set it to a trie with some or all of the above properties.
 * IMPORTANT  You are *not* resposible for closing the filter trie's handle, 
 *            the store-backend module is.
native void Store_GetLoadouts(Handle filter = INVALID_HANDLE, Store_GetItemsCallback callback = INVALID_FUNCTION, bool loadFromCache = true, any data = 0);
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode