Revision: 4916
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4916&view=rev
Author:   hofman
Date:     2008-11-04 14:14:13 +0000 (Tue, 04 Nov 2008)

Log Message:
-----------
release image

Modified Paths:
--------------
    trunk/PDFPage_SKExtensions.m

Modified: trunk/PDFPage_SKExtensions.m
===================================================================
--- trunk/PDFPage_SKExtensions.m        2008-11-04 12:21:00 UTC (rev 4915)
+++ trunk/PDFPage_SKExtensions.m        2008-11-04 14:14:13 UTC (rev 4916)
@@ -339,7 +339,10 @@
     [pageImage drawInRect:targetRect fromRect:sourceRect 
operation:NSCompositeCopy fraction:1.0];
     [image unlockFocus];
     
-    return [image TIFFRepresentation];
+    NSData *data = [image TIFFRepresentation];
+    [image release];
+    
+    return data;
 }
 
 - (NSArray *)lineRects {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to