[Gambas-user] Crash with Free()

Bruce Bruen bbruen at ...2308...
Sun Jan 16 13:23:23 CET 2011


On Friday, January 14, 2011 05:07:45 am Jussi Lahtinen wrote:
> Hi!
> I was adding some test for pointer arithmetic when noticing this.
> GambasTester will pass, but when you close main form, signal 11 will rise.
> Commenting out Free(pp) from mTest: line 1070, will prevent crash.
> 
> Gambas 3 rev 3452 @ Ubuntu 10.10 64bit
> 
> Jussi
Regardless of pointer algebra, surely if you are going to use reference 
counting then an explicit call to a destructor will free all local references 
to any and all local references.  I must admit I am getting a little tired of 
ignored dereferencing.

-- 
best regards
Bruce Bruen



More information about the User mailing list