mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 07:50:53 +00:00
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:
parent
93d7e12764
commit
6f7cd1c96b
1 changed files with 1 additions and 2 deletions
|
@ -502,7 +502,6 @@ numberOfRowsInColumn: (int)column
|
||||||
|
|
||||||
- (void) dealloc
|
- (void) dealloc
|
||||||
{
|
{
|
||||||
TEST_RELEASE(_dataSource);
|
|
||||||
RELEASE(_buttonCell);
|
RELEASE(_buttonCell);
|
||||||
RELEASE(_popUpList);
|
RELEASE(_popUpList);
|
||||||
|
|
||||||
|
@ -629,7 +628,7 @@ numberOfRowsInColumn: (int)column
|
||||||
if (!_usesDataSource)
|
if (!_usesDataSource)
|
||||||
NSLog(@"Method Invalid: ComboBox does not use dataSource");
|
NSLog(@"Method Invalid: ComboBox does not use dataSource");
|
||||||
else
|
else
|
||||||
ASSIGN(_dataSource, aSource);
|
_dataSource = aSource;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) addItemWithObjectValue: (id)object
|
- (void) addItemWithObjectValue: (id)object
|
||||||
|
|
Loading…
Reference in a new issue