mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 03:51:04 +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
|
||||
{
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue