On Mon, 28 Oct 2013, Jorge Carri?n wrote:
> I have a component who inherits from gridview.
> It's not a complicated thing, but when its included in a project allways
> produced a warning in the console about allocations non freed like this.
> 
> gbx3: warning: 82 allocation(s) non freed.
> 
> I have read that it references to variables who remains allocated in ram
> after the end of the program but I don't any clue about how prevent this.
> 
> I've coded something like this in al close event of all parts of the
> component
> 
> variableObjecA=null
> variableNumericB=0
> variableStringC=""
> 
> But the warning still remains.
> 
> Someone knows a way to prevent or debug this?
> 
> Thanks in advance.
> 

I don't really know a good way to debug it. A solution might be to send your
project to this list so we could have a look.

BTW, 82 is an impressive number! I never came above 10. :-)

Regards,
Tobi

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to