Fix two minor memory leaks

The MMTextViewHelper class failed to release two objects on dealloc.
This commit is contained in:
Bjorn Winckler
2009-01-23 23:23:10 +01:00
parent f81158c840
commit 1e901456a5
+2
View File
@@ -52,7 +52,9 @@ static float MMDragAreaSize = 73.0f;
- (void)dealloc
{
[insertionPointColor release]; insertionPointColor = nil;
[markedText release]; markedText = nil;
[markedTextAttributes release]; markedTextAttributes = nil;
[super dealloc];
}