[Gambas-user] Allocations non freed.

Tobias Boege taboege at ...626...
Mon Oct 28 20:50:47 CET 2013


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




More information about the User mailing list