summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-05 10:09:54 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:38 -0800
commita1e959dd81004bbfef868da0e8329b7602f8b732 (patch)
tree0fd877c37978b5eea5ab609e1e88eec03ddcd446
parentbdca103d53eaea3c77db19c102282778c74564e6 (diff)
Correct memory management for StashController.
-rw-r--r--MobileCydia.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index e3e85ac..6c61f43 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -8771,7 +8771,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
[[self view] setBackgroundColor:[UIColor viewFlipsideBackgroundColor]];
- spinner_ = [[[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge] autorelease];
+ spinner_ = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge];
CGRect spinrect = [spinner_ frame];
spinrect.origin.x = ([[self view] frame].size.width / 2) - (spinrect.size.width / 2);
spinrect.origin.y = [[self view] frame].size.height - 80.0f;
@@ -8785,7 +8785,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
captrect.size.height = 40.0f;
captrect.origin.x = 0;
captrect.origin.y = ([[self view] frame].size.height / 2) - (captrect.size.height * 2);
- caption_ = [[[UILabel alloc] initWithFrame:captrect] autorelease];
+ caption_ = [[UILabel alloc] initWithFrame:captrect];
[caption_ setText:UCLocalize("PREPARING_FILESYSTEM")];
[caption_ setAutoresizingMask:UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin];
[caption_ setFont:[UIFont boldSystemFontOfSize:28.0f]];
@@ -8800,7 +8800,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
statusrect.size.height = 30.0f;
statusrect.origin.x = 0;
statusrect.origin.y = ([[self view] frame].size.height / 2) - statusrect.size.height;
- status_ = [[[UILabel alloc] initWithFrame:statusrect] autorelease];
+ status_ = [[UILabel alloc] initWithFrame:statusrect];
[status_ setAutoresizingMask:UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin];
[status_ setText:UCLocalize("EXIT_WHEN_COMPLETE")];
[status_ setFont:[UIFont systemFontOfSize:16.0f]];