Fixed a memory leak. See the ChangeLog for the details.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ludovic Marcotte 2003-03-02 18:50:07 +00:00
parent 93d7e12764
commit 6f7cd1c96b

View file

@ -502,7 +502,6 @@ numberOfRowsInColumn: (int)column
- (void) dealloc
{
TEST_RELEASE(_dataSource);
RELEASE(_buttonCell);
RELEASE(_popUpList);
@ -629,7 +628,7 @@ numberOfRowsInColumn: (int)column
if (!_usesDataSource)
NSLog(@"Method Invalid: ComboBox does not use dataSource");
else
ASSIGN(_dataSource, aSource);
_dataSource = aSource;
}
- (void) addItemWithObjectValue: (id)object