Memory Leak

Peter Frisch <[email protected]> Tue, 17 May 2005 12:09:55 +0200 (CEST)
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
Hi,

I'm running breve on windows and checked the
SuperWalker demo. It seems like there is a memory leak
in it. When I let it run a while the memory
consumption increases. I tried to introduce a destroy
function to the Creature class and it seems like the
memory consumption slows down, but still it increases.

Here is my destroy function:

        + to destroy:
                item (object).
                
                foreach item in links:
                    free item.
                foreach item in joints:
                    free item.
                free bodyLink.
                free linkShape.
                free lowerLinkShape.
                free bodyShape.

(I also made the shapes member variables of the
Creature)

Do I miss something else or is there a memory leak in
breve?

Any help would be appreciated.

Best regards, Peter Frisch



	

	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve