[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSAutoreleasedMemory

From: Richard Frith-Macdonald
Subject: Re: GSAutoreleasedMemory
Date: Thu, 30 Nov 2006 15:42:22 +0000

On 30 Nov 2006, at 15:21, Marc Brünink wrote:

Hi all,

thanks to NSDebug I found two small memory leaks. However there's another one:
I'm loosing 2 instances of GSAutoreleasedMemory every few runloops.

I do not understand /usr/src/core/base/Source/Additions/ GSObjCRuntime.m at the moment. So could anyone explain me the use of GSAutoreleasedMemory please?

GSAutoreleasedMemory is a private class whose instances are used to wrap an area of memory on the heap which is to be freed when the enclosing autorelease pool is deallocated. It should be impossible for this to be leaked unless you are running without an autorelease pool... in which case you should get lots of warning messages. Are you sure you are not misinterpreting things?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]