mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
added missed alloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8181 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c72deb7ce3
commit
cee9b5401c
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ _bundle_name_first_match(NSString* directory, NSString* name)
|
|||
bundlePath = [bundlePath stringByAppendingPathComponent:
|
||||
[NSString stringWithFormat: @"%@.framework", name]];
|
||||
|
||||
bundle = [NSBundle initWithPath: bundlePath];
|
||||
bundle = [[NSBundle alloc] initWithPath: bundlePath];
|
||||
bundle->_bundleType = NSBUNDLE_FRAMEWORK;
|
||||
bundle->_codeLoaded = YES;
|
||||
bundle->_frameworkVersion = RETAIN([frameworkClass frameworkVersion]);
|
||||
|
|
Loading…
Reference in a new issue