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.

Regards.
------------------------------------------------------------------------------
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