Author: mlytwyn
Date: Tue Apr 12 18:21:41 2016
New Revision: 39660

URL: http://svn.gna.org/viewcvs/gnustep?rev=39660&view=rev
Log:
Retain/release service key value - 2

Modified:
    libs/base/branches/gnustep_testplant_branch/Source/GSMDNSNetServices.m

Modified: libs/base/branches/gnustep_testplant_branch/Source/GSMDNSNetServices.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/branches/gnustep_testplant_branch/Source/GSMDNSNetServices.m?rev=39660&r1=39659&r2=39660&view=diff
==============================================================================
--- libs/base/branches/gnustep_testplant_branch/Source/GSMDNSNetServices.m      
(original)
+++ libs/base/branches/gnustep_testplant_branch/Source/GSMDNSNetServices.m      
Tue Apr 12 18:21:41 2016
@@ -540,7 +540,7 @@
       type = [NSString stringWithUTF8String: replyType];
       name = [NSString stringWithUTF8String: replyName];
       
-      key = RETAIN([NSString stringWithFormat: @"%@%@%@", name, type, domain]);
+      key = [[NSString alloc] initWithFormat: @"%@%@%@", name, type, domain];
       
       if (flags & kDNSServiceFlagsAdd)
            {


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to