[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 30 Nov 2006 15:42:22 +0000
On 30 Nov 2006, at 15:21, Marc Brünink wrote:
thanks to NSDebug I found two small memory leaks. However there's
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?