After I put [] at the destructor, the error message becomes something like: trying to read unallocated chunks or/and bus error.
Best Regards, Victor Subject: Re: Many memory leaks help! From: "Matthew Henry" <[EMAIL PROTECTED]> Date: Mon, 15 Dec 2003 12:28:54 -0500 X-Message-Number: 24 > and I declare a number of class A objects in the heap > and put them as global static variables. > > The problem is I can't delete class A objects even > when I do it at the end of the program eventhough I are you calling delete [] myC; in your destructors? note the []. __________________________________________________ Do You Yahoo!? Get clicking with thousands of singles today! http://asia.yahoo.com/lavalife -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
