From ff3fc67fabead60441354209ab3e03d4f5a49c65 Mon Sep 17 00:00:00 2001 From: bamse16 Date: Tue, 30 Jun 2009 14:02:56 +0000 Subject: Fixed some memory issues on BW framework --- Frameworks/BWToolkitFramework.framework/BWSplitView.m | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Frameworks') diff --git a/Frameworks/BWToolkitFramework.framework/BWSplitView.m b/Frameworks/BWToolkitFramework.framework/BWSplitView.m index f5c3d089..1252cce8 100644 --- a/Frameworks/BWToolkitFramework.framework/BWSplitView.m +++ b/Frameworks/BWToolkitFramework.framework/BWSplitView.m @@ -331,6 +331,7 @@ static float scaleFactor = 1.0f; NSMutableDictionary *tempMinValues = [[self minValues] mutableCopy]; [tempMinValues setObject:minSize forKey:[NSNumber numberWithInt:[[self subviews] indexOfObject:[self collapsibleSubview]]]]; [self setMinValues:tempMinValues]; + [tempMinValues release]; } } @@ -341,6 +342,7 @@ static float scaleFactor = 1.0f; NSMutableDictionary *tempMinValues = [[self minValues] mutableCopy]; [tempMinValues removeObjectForKey:[NSNumber numberWithInt:[[self subviews] indexOfObject:[self collapsibleSubview]]]]; [self setMinValues:tempMinValues]; + [tempMinValues release]; } } @@ -935,6 +937,9 @@ static float scaleFactor = 1.0f; [self clearPreferredProportionsAndSizes]; [self recalculatePreferredProportionsAndSizes]; } + + [preferredProportions release]; + [preferredSizes release]; } - (void)validateAndCalculatePreferredProportionsAndSizes; -- cgit v1.2.3