Skip to content

Commit 84555e0

Browse files
committed
Stop leaking
1 parent ca16ba1 commit 84555e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/Views/PBGitRevisionCell.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ - (void)drawRect:(NSRect)dirtyRect
315315
[self drawRefsInRect:rect];
316316
}
317317

318-
- (void) setObjectValue: (PBGitCommit*)object {
319-
[super setObjectValue:[NSValue valueWithNonretainedObject:object]];
318+
- (void)setObjectValue:(PBGitCommit *)object {
319+
[super setObjectValue:object];
320320

321321
[self setNeedsDisplay:YES];
322322
[self setNeedsLayout:YES];
@@ -359,7 +359,7 @@ - (void)layout {
359359
}
360360

361361
- (PBGitCommit*) objectValue {
362-
return [[super objectValue] nonretainedObjectValue];
362+
return [super objectValue];
363363
}
364364

365365
- (int) indexAtX:(CGFloat)x

0 commit comments

Comments
 (0)