mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-23 02:23:15 +00:00
Retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c96deb1436
commit
abed70f622
1 changed files with 4 additions and 3 deletions
|
@ -90,8 +90,8 @@
|
|||
|
||||
- (void)dealloc
|
||||
{
|
||||
RELEASE(_selectedTextAttributes);
|
||||
RELEASE(_markedTextAttributes);
|
||||
RELEASE (_selectedTextAttributes);
|
||||
RELEASE (_markedTextAttributes);
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
@ -111,7 +111,8 @@
|
|||
{
|
||||
// Notify layoutManager of change?
|
||||
|
||||
ASSIGN(_textContainer, aTextContainer);
|
||||
/* Do not retain: text container is owning us. */
|
||||
_textContainer = aTextContainer;
|
||||
}
|
||||
|
||||
- (void) setTextContainerInset: (NSSize)inset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue