summaryrefslogtreecommitdiff
path: root/MobileSafety.mm
diff options
context:
space:
mode:
Diffstat (limited to 'MobileSafety.mm')
-rw-r--r--MobileSafety.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/MobileSafety.mm b/MobileSafety.mm
index 02b9469..95040c8 100644
--- a/MobileSafety.mm
+++ b/MobileSafety.mm
@@ -1,5 +1,5 @@
/* Cydia Substrate - Meta-Library Insert for iPhoneOS
- * Copyright (C) 2008-2009 Jay Freeman (saurik)
+ * Copyright (C) 2008-2010 Jay Freeman (saurik)
*/
/*
@@ -98,7 +98,7 @@ static void MSAlert() {
}
if ($SBAlertItemsController != nil)
- [[$SBAlertItemsController sharedInstance] activateAlertItem:[[$SafeModeAlertItem alloc] init]];
+ [[$SBAlertItemsController sharedInstance] activateAlertItem:[[[$SafeModeAlertItem alloc] init] autorelease]];
}
MSHook(void, SBStatusBar$touchesEnded$withEvent$, SBStatusBar *self, SEL sel, id touches, id event) {