Permalink
Browse files

Fixes 258060

Fixed a couple memory leaks. Thanks to Christiaan Hofman for the patch.
  • Loading branch information...
1 parent 8a240f7 commit 46312a2d154d87ca0ad2e341185c0716630f63ab @andymatuschak andymatuschak committed Aug 17, 2008
Showing with 10 additions and 1 deletion.
  1. +2 −0 SUAppcast.m
  2. +1 −1 SUBasicUpdateDriver.m
  3. +7 −0 SUUpdateDriver.m
View
2 SUAppcast.m
@@ -19,6 +19,8 @@ @implementation SUAppcast
- (void)dealloc
{
[items release];
+ [userAgentString release];
+ [incrementalData release];
[super dealloc];
}
View
2 SUBasicUpdateDriver.m
@@ -301,7 +301,7 @@ - (void)abortUpdateWithError:(NSError *)error
- (void)dealloc
{
- [host release];
+ [updateItem release];
[download release];
[downloadPath release];
[relaunchPath release];
View
7 SUUpdateDriver.m
@@ -30,4 +30,11 @@ - (void)abortUpdate
}
- (BOOL)finished { return finished; }
+
+- (void)dealloc
+{
+ [host release];
+ [super dealloc];
+}
+
@end

0 comments on commit 46312a2

Please sign in to comment.