Skip to content

Commit

Permalink
fix minor memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
onnlucky committed Aug 20, 2010
1 parent 0631ac5 commit d91cf28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PBGitRevisionCell.m
Expand Up @@ -209,6 +209,7 @@ - (void) drawRefsInRect: (NSRect *)refRect
[[NSColor blackColor] setStroke]; [[NSColor blackColor] setStroke];


NSRect lastRect; NSRect lastRect;
bzero(&lastRect, sizeof(lastRect));
int index = 0; int index = 0;
for (NSValue *rectValue in [self rectsForRefsinRect:*refRect]) for (NSValue *rectValue in [self rectsForRefsinRect:*refRect])
{ {
Expand Down

0 comments on commit d91cf28

Please sign in to comment.