Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

BlackWolf

macrumors regular
Original poster
Apr 9, 2009
244
0
hi,
is there any way to make an NSInvocation object release all it's arguments? because there is "retainArguments", but there doesn't seem to be a "releaseArguments" method ... this seems kinda strange to me.

The background is that I have a set of NSInvocation objects that I store in an array, but only some of them get called later - the others just get released, but they don't release the arguments attached to them which of course leads to memory leaks.

thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.