X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/9d7f5e2d9bf78f970b62600b732d397eb1bdcc6f..d287ae9a9eae6d1aef1bd630d12ad9442372d791:/Cydia.mm diff --git a/Cydia.mm b/Cydia.mm index 827b0204..57b24dfc 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 {