summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2009-04-15 21:42:01 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:12 +0000
commit92d4a16a35b9963afc5b644b168df1488fc72af0 (patch)
treebe0aa8b14ba02b6e5ad50499625f42d3aa725c6c /Cydia.mm
parentcaa427d133e3739a2da5b05090bf9d9bb40b0ee0 (diff)
Fixed some stupid bugs added when I was too tired.
Diffstat (limited to 'Cydia.mm')
-rw-r--r--Cydia.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index 827b020..57b24df 100644
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -2567,7 +2567,7 @@ uint32_t PackageChangesRadix(Package *self, void *) {
name_ = [name retain];
index_ = '\0';
row_ = row;
- localized_ = LocalizeSection(name_);
+ localized_ = [LocalizeSection(name_) retain];
} return self;
}
@@ -4494,11 +4494,11 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
[super dealloc];
}
-/*- (void) release {
+- (void) release {
if ([self retainCount] == 1)
[delegate_ setPackageView:self];
[super release];
-}*/
+}
/* XXX: this is not safe at all... localization of /fail/ */
- (void) _clickButtonWithName:(NSString *)name {
@@ -7320,7 +7320,6 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
- (void) setPackageView:(PackageView *)view {
if (package_ == nil)
package_ = [view retain];
- NSLog(@"packageView: %@", package_);
}
- (PackageView *) packageView {