Skip to content

Commit

Permalink
Release location in dealloc of OCMVerifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Hardiman committed Jul 23, 2015
1 parent 6a29131 commit 6bc97d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/OCMock/OCMVerifier.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,10 @@ - (void)forwardInvocation:(NSInvocation *)anInvocation
[mockObject verifyInvocation:invocationMatcher atLocation:self.location];
}

- (void)dealloc
{
[_location release];
[super dealloc];
}

@end

0 comments on commit 6bc97d7

Please sign in to comment.