Lazarus

Programming => Graphics and Multimedia => OpenGL => Topic started by: tambok on September 15, 2019, 11:38:06 am

Title: [Help] leak memory message of uNavCube
Post by: tambok on September 15, 2019, 11:38:06 am
Hi everyone,

i want to ask, how to get rid of leaked memory messages?  I tried to make a small program using GLScene and wanted to place this file in it.

https://sourceforge.net/p/glscene/code/HEAD/tree/branches/GLSceneLCL/Examples/editors/SceneMaster/uNavCube.pas

I get error message if I select the leak memory check option.  I have tried opening this file.

As far as I know, there is usually a destructor  Destroy command in a class.  Is this the cause?  If it is true, how is the right way, I can write the command?  I've tried it but it hasn't worked.

many thanks
Tbk
Title: Re: [Help] leak memory message of uNavCube
Post by: BeanzMaster on September 15, 2019, 04:27:40 pm
Hi Tambok, thanks for the reporting. I found the bug, but i have some problems with SVN for update repository
Title: Re: [Help] leak memory message of uNavCube
Post by: tambok on September 16, 2019, 08:14:31 am
Hi Jerome,

Thank you for the answer. 
So, do i need just wait of repository update?

Regard
Tbk
TinyPortal © 2005-2018