* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an

autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Mirko Viviani 2000-11-23 00:20:12 +00:00
parent 14c50fb973
commit c72deb7ce3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2000-11-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): fixed an
autorelease problem. (reported by Gerald Siebke <gerald@turbocat.de>)
2000-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTcpPort.m: ([-connectToPort:beforeDate:]) added locking to

View file

@ -259,7 +259,7 @@ _bundle_name_first_match(NSString* directory, NSString* name)
bundlePath = [bundlePath stringByAppendingPathComponent:
[NSString stringWithFormat: @"%@.framework", name]];
bundle = [NSBundle bundleWithPath: bundlePath];
bundle = [NSBundle initWithPath: bundlePath];
bundle->_bundleType = NSBUNDLE_FRAMEWORK;
bundle->_codeLoaded = YES;
bundle->_frameworkVersion = RETAIN([frameworkClass frameworkVersion]);