Permalink
Browse files

fix memory leak

  • Loading branch information...
1 parent 37eac40 commit 3a5a0d3c96b16a1d8d4c4f56b161d1834bc26815 Chris committed Jul 9, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 NKDBarcodeOffscreenView.m
View
1 NKDBarcodeOffscreenView.m
@@ -240,6 +240,7 @@ - (NSData *)pdfInsideRect:(CGRect)rect {
CGPDFContextEndPage(context);
CGPDFContextClose(context);
CGDataConsumerRelease(consumer);
+ CGContextRelease(context);
return data;
}

0 comments on commit 3a5a0d3

Please sign in to comment.