Revision: 22484
          http://sourceforge.net/p/bibdesk/svn/22484
Author:   hofman
Date:     2018-08-07 15:06:33 +0000 (Tue, 07 Aug 2018)
Log Message:
-----------
retain and autorelease search string to make sure

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

Modified: trunk/bibdesk/BibDocument_Search.m
===================================================================
--- trunk/bibdesk/BibDocument_Search.m  2018-08-07 11:48:24 UTC (rev 22483)
+++ trunk/bibdesk/BibDocument_Search.m  2018-08-07 15:06:33 UTC (rev 22484)
@@ -95,7 +95,7 @@
         field = BDSKAllFieldsString;
     }
     
-    NSString *searchString = [searchField stringValue];
+    NSString *searchString = [[[searchField stringValue] retain] autorelease];
     
     if ([field isEqualToString:BDSKFileContentSearchString]) {
         

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to