mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:10:37 +00:00
Fix memory leaks found by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32529 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02d5a28637
commit
782af1ee89
8 changed files with 20 additions and 5 deletions
|
@ -1474,6 +1474,7 @@ static BOOL _isInInterfaceBuilder = NO;
|
|||
Class newCellClass = [newClass cellClass];
|
||||
if (newCellClass != [NSCell class])
|
||||
{
|
||||
RELEASE(obj);
|
||||
result = [[newCellClass alloc] initWithCoder: coder];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue