From 97f6a0051f183327629871291ae902250d455385 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 8 Jul 2010 02:35:17 +0000 Subject: [PATCH] Update injection handler for new local pool semantics. --- Handler.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Handler.mm b/Handler.mm index 01c3cbc..407719a 100644 --- a/Handler.mm +++ b/Handler.mm @@ -111,7 +111,7 @@ struct CYClient : if (!CYRecvAll(socket_, &size, sizeof(size))) return; - CYPool pool; + CYLocalPool pool; char *data(new(pool) char[size + 1]); if (!CYRecvAll(socket_, data, size)) return; @@ -131,7 +131,7 @@ struct CYClient : NSAutoreleasePool *ar = [[NSAutoreleasePool alloc] init]; CYOptions options; - CYContext context(driver.pool_, options); + CYContext context(options); driver.program_->Replace(context); std::ostringstream str; CYOutput out(str, options); -- 2.49.0