summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-12-01 16:30:20 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2010-12-01 16:30:20 -0800
commita020a50efa5435fc5c7317297399196cd35d2c61 (patch)
treecdf5b1d99aa7d5eaa212ba9f74cd599bb3fe6797 /MobileCydia.mm
parentc1fb2e9838266f331cc2dc0920e19a2c5ef3b759 (diff)
Apparently, NSRecycleZone actually destroys the zone.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 4dd2b57..20d82bb 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -3363,7 +3363,9 @@ static NSString *Warning_;
cache_.Close();
apr_pool_clear(pool_);
+
NSRecycleZone(zone_);
+ zone_ = NSCreateZone(1024 * 1024, 256 * 1024, NO);
int chk(creat("/tmp/cydia.chk", 0644));
if (chk != -1)