mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Fix small memory issue
This commit is contained in:
parent
4fca61ede1
commit
6ddb3b0233
1 changed files with 2 additions and 1 deletions
|
@ -500,6 +500,7 @@ static NSStoryboard *__mainStoryboard = nil;
|
|||
NSArray *windowControllers = [document nodesForXPath: @"//windowController" error: NULL];
|
||||
NSArray *viewControllers = [document nodesForXPath: @"//viewController" error: NULL];
|
||||
NSArray *controllerPlaceholders = [document nodesForXPath: @"//controllerPlaceholder" error: NULL];
|
||||
RELEASE(doc);
|
||||
|
||||
if ([windowControllers count] > 0)
|
||||
{
|
||||
|
@ -597,7 +598,7 @@ static NSStoryboard *__mainStoryboard = nil;
|
|||
// Create document...
|
||||
[_scenesMap setObject: document
|
||||
forKey: sceneId];
|
||||
|
||||
|
||||
// Map controllerId's to scenes...
|
||||
if (controllerId != nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue