Author: rfm
Date: Sat May 31 07:36:41 2014
New Revision: 37930

URL: http://svn.gna.org/viewcvs/gnustep?rev=37930&view=rev
Log:
Minor bugfixes (small leak and update hash return type for 64bit systems)

Modified:
    libs/license/trunk/GNUmakefile
    libs/license/trunk/License.m

Modified: libs/license/trunk/GNUmakefile
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/license/trunk/GNUmakefile?rev=37930&r1=37929&r2=37930&view=diff
==============================================================================
--- libs/license/trunk/GNUmakefile      (original)
+++ libs/license/trunk/GNUmakefile      Sat May 31 07:36:41 2014
@@ -21,7 +21,7 @@
 -include config.make
 
 PACKAGE_NAME = License
-PACKAGE_VERSION = 1.0.0
+PACKAGE_VERSION = 1.0.1
 CVS_MODULE_NAME = gnustep/dev-libs/License
 CVS_TAG_NAME = License
 SVN_BASE_URL=svn+ssh://svn.gna.org/svn/gnustep/libs

Modified: libs/license/trunk/License.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/license/trunk/License.m?rev=37930&r1=37929&r2=37930&view=diff
==============================================================================
--- libs/license/trunk/License.m        (original)
+++ libs/license/trunk/License.m        Sat May 31 07:36:41 2014
@@ -46,6 +46,7 @@
        }
       [licenseLock unlock];
     }
+  [l release];
 }
 
 + (License*) currentLicense
@@ -53,7 +54,7 @@
   License      *license;
 
   [licenseLock lock];
-  if (currentLicense == nil)
+  if (nil == currentLicense)
     {
       currentLicense = [License new];
     }
@@ -180,7 +181,7 @@
   return _generated;
 }
 
-- (unsigned) hash
+- (NSUInteger) hash
 {
   return [_lKey hash];
 }


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

Reply via email to