I haven't tinkered with this in a while, but my memory says that the 
pgDelete only marks something as not used, it doesn't actually free 
the memory.  PicoGUI basically has it's own memory manager of sorts.  
You see..., constantly freeing and mallocing memory chunks is not 
very efficient, so instead holding a reserve of structures is better 
performance wise.

On Thursday 14 March 2002 09:13, Ibrahim Niyazi Ulgur wrote:
>     Hi guys !
>
>     I think, there are some bad news...
>
>     There is obviously a memory leak problem with BITMAPs or bitmap
> handlers. I have sended this message with an attachment. In the
> attachment you can see how a simple part of code gets some memory
> from Linux and will not give it back. I used last version of server
> and the program code is from your applicatons. ( menutest.c)  But
> to be clear I truncated some of your code and I put my code into
> btnDialog function. You will see my Comments into the code, All are
> self explanatory.
>
>     Thanks for your labour...

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to