]> git.saurik.com Git - cycript.git/commitdiff
CYPoolCode put the code in the wrong (local) pool.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Dec 2015 13:40:52 +0000 (05:40 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Dec 2015 13:40:52 +0000 (05:40 -0800)
Library.cpp

index 2fffade2253d7e952314da444e2ad486e1623396..47da272e9b40e5ab88da1b3d3384d96b13e650ed 100644 (file)
@@ -138,7 +138,7 @@ CYUTF8String CYPoolCode(CYPool &pool, std::streambuf &stream) {
     std::stringbuf str;
     CYOutput out(str, options);
     out << *driver.script_;
-    return $pool.strdup(str.str().c_str());
+    return pool.strdup(str.str().c_str());
 }
 
 CYUTF8String CYPoolCode(CYPool &pool, CYUTF8String code) {