[fpc-pascal] fp universal library ?

Fred van Stappen fiens at hotmail.com
Tue Feb 4 22:49:51 CET 2014


> Now what I would like in the compiler is a warning: potential memory
> leak at myclass := TMyUnitClass.Create;
> 
> ;)

Oops, prior message was cut...

Yep, before to get that sympathetic message, i changed the code, now all the class.create are done inside the unit used by the library and i will not get the message because i will not forget to free it before to close... ;-)

Thanks.

 		 	   		  

_______________________________________________
fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140204/164bc868/attachment.html>


More information about the fpc-pascal mailing list