From 1e901456a516666f7dd162ca091d7b08ba0ab181 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Fri, 23 Jan 2009 23:23:10 +0100 Subject: [PATCH] Fix two minor memory leaks The MMTextViewHelper class failed to release two objects on dealloc. --- src/MacVim/MMTextViewHelper.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MacVim/MMTextViewHelper.m b/src/MacVim/MMTextViewHelper.m index 8494575017..27ec250364 100644 --- a/src/MacVim/MMTextViewHelper.m +++ b/src/MacVim/MMTextViewHelper.m @@ -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]; }