NSInvocation does not release arguments?

Discussion in 'iOS Programming' started by BlackWolf, Apr 23, 2009.

  1. BlackWolf macrumors regular

    Apr 9, 2009
    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.


Share This Page