Revision: 9520
          http://sourceforge.net/p/skim-app/code/9520
Author:   hofman
Date:     2017-12-05 15:55:43 +0000 (Tue, 05 Dec 2017)
Log Message:
-----------
Should always release offsets

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

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2017-12-05 15:25:48 UTC (rev 9519)
+++ trunk/SKMainDocument.m      2017-12-05 15:55:43 UTC (rev 9520)
@@ -1134,10 +1134,10 @@
         [self setPDFData:[pdfDocWithoutNotes dataRepresentation] 
pageOffsets:offsets];
         
         [[self undoManager] setActionName:NSLocalizedString(@"Convert Notes", 
@"Undo action name")];
-        
-        [offsets release];
     }
     
+    [offsets release];
+
     [[pdfDocWithoutNotes outlineRoot] clearDocument];
     
     [[self mainWindowController] dismissProgressSheet];

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to