Reputation: 3
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