Permalink
Browse files

fix minor memory issue

  • Loading branch information...
1 parent 0631ac5 commit d91cf28396c14d5f4b6943b04dab886ee499aa9d @onnlucky onnlucky committed Aug 20, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 PBGitRevisionCell.m
View
@@ -209,6 +209,7 @@ - (void) drawRefsInRect: (NSRect *)refRect
[[NSColor blackColor] setStroke];
NSRect lastRect;
+ bzero(&lastRect, sizeof(lastRect));
int index = 0;
for (NSValue *rectValue in [self rectsForRefsinRect:*refRect])
{

0 comments on commit d91cf28

Please sign in to comment.