Revision: 21599 http://sourceforge.net/p/bibdesk/svn/21599 Author: hofman Date: 2017-10-27 16:20:05 +0000 (Fri, 27 Oct 2017) Log Message: ----------- make sure we don't release nil
Modified Paths: -------------- trunk/bibdesk/NSURL_BDSKExtensions.m Modified: trunk/bibdesk/NSURL_BDSKExtensions.m =================================================================== --- trunk/bibdesk/NSURL_BDSKExtensions.m 2017-10-27 15:47:22 UTC (rev 21598) +++ trunk/bibdesk/NSURL_BDSKExtensions.m 2017-10-27 16:20:05 UTC (rev 21599) @@ -95,7 +95,7 @@ if(BDIsEmptyString(lastPathComponent) == FALSE) CFArrayAppendValue(strippedComponents, lastPathComponent); - CFRelease(lastPathComponent); + if (lastPathComponent) CFRelease(lastPathComponent); oldURL = fileURL; NSCParameterAssert(oldURL); 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 _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit