Revision: 28601
          http://sourceforge.net/p/bibdesk/svn/28601
Author:   hofman
Date:     2024-01-14 15:31:14 +0000 (Sun, 14 Jan 2024)
Log Message:
-----------
free rather than malloc, remove unused variable, fix selector

Modified Paths:
--------------
    trunk/bibdesk/BDSKSoapBinding.m
    trunk/bibdesk/BibDocument_Actions.m
    trunk/bibdesk/NSString_BDSKExtensions.m
    trunk/bibdesk/en.lproj/Localizable.strings

Modified: trunk/bibdesk/BDSKSoapBinding.m
===================================================================
--- trunk/bibdesk/BDSKSoapBinding.m     2024-01-14 14:51:29 UTC (rev 28600)
+++ trunk/bibdesk/BDSKSoapBinding.m     2024-01-14 15:31:14 UTC (rev 28601)
@@ -205,7 +205,7 @@
         completionHandler(NSURLSessionAuthChallengeUseCredential, 
newCredential);
        } else {
         NSWindow *window = nil;
-        if  ([delegate 
respondsToSelector:@selector(operationWindowForAuthenticationSheet:)]){
+        if  ([delegate 
respondsToSelector:@selector(soapOperationWindowForAuthenticationSheet)]){
             window = [delegate soapOperationWindowForAuthenticationSheet];
         }
         [[BDSKAuthenticationHandler sharedHandler] 
startAuthentication:challenge window:window 
completionHandler:completionHandler];

Modified: trunk/bibdesk/BibDocument_Actions.m
===================================================================
--- trunk/bibdesk/BibDocument_Actions.m 2024-01-14 14:51:29 UTC (rev 28600)
+++ trunk/bibdesk/BibDocument_Actions.m 2024-01-14 15:31:14 UTC (rev 28601)
@@ -1690,7 +1690,6 @@
     [documentWindow makeFirstResponder:tableView]; // make sure tableview has 
the focus
     
     NSMutableArray *duplicatePubs = nil;
-    NSZone *zone = NSDefaultMallocZone();
     CFIndex countOfItems = [publications count];
     NSPointerFunctions *pointerFunctions = nil;
     NSArray *pubs = nil;

Modified: trunk/bibdesk/NSString_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSString_BDSKExtensions.m     2024-01-14 14:51:29 UTC (rev 
28600)
+++ trunk/bibdesk/NSString_BDSKExtensions.m     2024-01-14 15:31:14 UTC (rev 
28601)
@@ -1387,7 +1387,7 @@
     }
     
     NSString *resultString = 
CFBridgingRelease(CFStringCreateWithBytes(kCFAllocatorDefault, dest, j, 
kCFStringEncodingASCII, FALSE));
-    malloc(dest);
+    free(dest);
     
     return resultString;
 }

Modified: trunk/bibdesk/en.lproj/Localizable.strings
===================================================================
(Binary files differ)

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