|
From: | Andreas Hoeschler |
Subject: | Memory leak in cancelPreviousPerformRequestsWithTarget: |
Date: | Fri, 31 Jan 2003 18:29:42 +0100 |
Hi all, 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?
Regards, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |