mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 02:10:48 +00:00
Merge pull request #139 from williameveretteggplant/master
Fix minor memory leaks
This commit is contained in:
commit
20f5694444
2 changed files with 6 additions and 1 deletions
|
@ -98,6 +98,8 @@
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
TEST_RELEASE(_border_color);
|
||||
TEST_RELEASE(_fill_color);
|
||||
TEST_RELEASE(_cell);
|
||||
[super dealloc];
|
||||
}
|
||||
|
|
|
@ -4040,7 +4040,10 @@ Figure out how the additional layout stuff is supposed to work.
|
|||
}
|
||||
|
||||
// Remove any existing tooltips in the redrawn rectangle.
|
||||
[[GSToolTips tipsForView: self] removeToolTipsInRect: rect];
|
||||
if (_rFlags.has_tooltips != 0)
|
||||
{
|
||||
[[GSToolTips tipsForView: self] removeToolTipsInRect: rect];
|
||||
}
|
||||
{
|
||||
NSRange r;
|
||||
NSUInteger i = drawnRange.location;
|
||||
|
|
Loading…
Reference in a new issue