|
From: | Andreas Hoeschler |
Subject: | Re: Memory leak in cancelPreviousPerformRequestsWithTarget: |
Date: | Fri, 31 Jan 2003 19:46:57 +0100 |
on MacOS X the following code retains and releases someObject.
[someObject performSelector:@selector(autoRollback) withObject:nil afterDelay:0];
[NSObject cancelPreviousPerformRequestsWithTarget:someObject selector:@selector(autoRollback) object:nil];
When I do this on GNUstep, the first line retains someObject, but the second line does not release it. This causes a memory leak in my app. Is this a bug or a feature?
Bug now fixed in CVS I hope.
[Prev in Thread] | Current Thread | [Next in Thread] |