Raised This Month: $ Target: $400
 0% 

[Help] MEMORY LEAK DETECTED IN PLUGIN


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kevin_b_er
SourceMod Donor
Join Date: Feb 2009
Old 11-25-2011 , 21:50   Re: [Help] MEMORY LEAK DETECTED IN PLUGIN
Reply With Quote #7

You must use CloseHandle on the array after you create it with CreateArray, or the array leaks memory.

Take out the two ClearArray lines in switcher and put two similar CloseHandle calls at the end switcher.
__________________
Kevin_b_er is offline
 



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 21:35.


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