Revision: 12622 http://sourceforge.net/p/skim-app/code/12622 Author: hofman Date: 2021-12-13 15:25:26 +0000 (Mon, 13 Dec 2021) Log Message: ----------- Make sure path list does not go away while we handle it
Modified Paths: -------------- trunk/PDFPage_SKExtensions.m Modified: trunk/PDFPage_SKExtensions.m =================================================================== --- trunk/PDFPage_SKExtensions.m 2021-12-13 15:22:31 UTC (rev 12621) +++ trunk/PDFPage_SKExtensions.m 2021-12-13 15:25:26 UTC (rev 12622) @@ -707,7 +707,7 @@ [props setValue:[selection cleanedString] forKey:SKPDFAnnotationScriptingTextContentsKey]; } } else if ([type isEqualToString:SKNInkString]) { - NSArray *pointLists = [properties objectForKey:SKPDFAnnotationScriptingPointListsKey]; + NSArray *pointLists = [[[properties objectForKey:SKPDFAnnotationScriptingPointListsKey] retain] autorelease]; [props removeObjectForKey:SKPDFAnnotationScriptingPointListsKey]; if ([pointLists isKindOfClass:[NSArray class]] == NO) { [[NSScriptCommand currentCommand] setScriptErrorNumber:NSRequiredArgumentsMissingScriptError]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit