Revision: 27374
          http://sourceforge.net/p/bibdesk/svn/27374
Author:   hofman
Date:     2022-04-15 14:34:39 +0000 (Fri, 15 Apr 2022)
Log Message:
-----------
don't overrelease wrapper

Modified Paths:
--------------
    trunk/bibdesk/NSURL_BDSKExtensions.m

Modified: trunk/bibdesk/NSURL_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSURL_BDSKExtensions.m        2022-04-15 14:25:23 UTC (rev 
27373)
+++ trunk/bibdesk/NSURL_BDSKExtensions.m        2022-04-15 14:34:39 UTC (rev 
27374)
@@ -455,7 +455,6 @@
     NSFileWrapper *wrapper = fileWrapperForFileType(fileTypeOfURL(self));
     if (wrapper) {
         NSTextAttachment *attachment = [[NSTextAttachment alloc] 
initWithFileWrapper:wrapper];
-        [wrapper release];
         attrString = [NSAttributedString 
attributedStringWithAttachment:attachment];
         [attachment release];
         
@@ -468,7 +467,6 @@
     NSFileWrapper *wrapper = smallFileWrapperForFileType(fileTypeOfURL(self));
     if (wrapper) {
         NSTextAttachment *attachment = [[NSTextAttachment alloc] 
initWithFileWrapper:wrapper];
-        [wrapper release];
         attrString = [NSAttributedString 
attributedStringWithAttachment:attachment];
         [attachment release];
         
@@ -481,7 +479,6 @@
     NSFileWrapper *wrapper = fileWrapperForFileType(fileTypeOfURL(self));
     if (wrapper) {
         NSTextAttachment *attachment = [[NSTextAttachment alloc] 
initWithFileWrapper:wrapper];
-        [wrapper release];
         attrString = [[NSAttributedString 
attributedStringWithAttachment:attachment] mutableCopy];
         [attachment release];
         
@@ -495,7 +492,6 @@
     NSFileWrapper *wrapper = smallFileWrapperForFileType(fileTypeOfURL(self));
     if (wrapper) {
         NSTextAttachment *attachment = [[NSTextAttachment alloc] 
initWithFileWrapper:wrapper];
-        [wrapper release];
         attrString = [[NSAttributedString 
attributedStringWithAttachment:attachment] mutableCopy];
         [attachment release];
         

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



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to