Kunal Pasricha
Kunal Pasricha

Reputation: 3

Memory Leak NSInvocationOperation

What is possible reason of memory leak in following code snippet?

NSInvocationOperation* theOp = [[NSInvocationOperation alloc] 
                                initWithTarget:self 
                                selector:@selector(methodCall:) object:Nil];

[operationQueue addOperation:theOp];
[theOp release];

Upvotes: 0

Views: 34

Answers (0)

Related Questions