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:
Fred Kiefer 2011-03-10 23:03:01 +00:00
parent 02d5a28637
commit 782af1ee89
8 changed files with 20 additions and 5 deletions

View file

@ -1474,6 +1474,7 @@ static BOOL _isInInterfaceBuilder = NO;
Class newCellClass = [newClass cellClass];
if (newCellClass != [NSCell class])
{
RELEASE(obj);
result = [[newCellClass alloc] initWithCoder: coder];
}
}