aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbamse16 <marius@marius.me.uk>2009-06-30 14:02:56 +0000
committerbamse16 <marius@marius.me.uk>2009-06-30 14:02:56 +0000
commitff3fc67fabead60441354209ab3e03d4f5a49c65 (patch)
tree00529265e1e558b78bcf582cde01a4b3733ee266
parent4124ae61f618bd22a9beb7f41717c3718ea2170e (diff)
downloadsequelpro-ff3fc67fabead60441354209ab3e03d4f5a49c65.tar.gz
sequelpro-ff3fc67fabead60441354209ab3e03d4f5a49c65.tar.bz2
sequelpro-ff3fc67fabead60441354209ab3e03d4f5a49c65.zip
Fixed some memory issues on BW framework
-rw-r--r--Frameworks/BWToolkitFramework.framework/BWSplitView.m5
1 files changed, 5 insertions, 0 deletions
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;