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:
nico 2000-12-16 20:19:18 +00:00
parent 45b04bd21e
commit b273ed105e

View file

@ -90,8 +90,8 @@
- (void)dealloc - (void)dealloc
{ {
RELEASE(_selectedTextAttributes); RELEASE (_selectedTextAttributes);
RELEASE(_markedTextAttributes); RELEASE (_markedTextAttributes);
[super dealloc]; [super dealloc];
} }
@ -111,7 +111,8 @@
{ {
// Notify layoutManager of change? // Notify layoutManager of change?
ASSIGN(_textContainer, aTextContainer); /* Do not retain: text container is owning us. */
_textContainer = aTextContainer;
} }
- (void) setTextContainerInset: (NSSize)inset - (void) setTextContainerInset: (NSSize)inset