summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/server/mod-python.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/server/mod-python.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/server/mod-python.hpp b/sca-cpp/trunk/modules/server/mod-python.hpp
index 7b7b88f211..219613d1e3 100644
--- a/sca-cpp/trunk/modules/server/mod-python.hpp
+++ b/sca-cpp/trunk/modules/server/mod-python.hpp
@@ -52,8 +52,7 @@ struct evalImplementation {
const value operator()(const list<value>& params) const {
const value expr = append<value>(params, px);
debug(expr, "modeval::python::evalImplementation::input");
- gc_pool pool(gc_current_pool());
- const failable<value> val = python::evalScript(expr, impl, pool);
+ const failable<value> val = python::evalScript(expr, impl);
debug(val, "modeval::python::evalImplementation::result");
if (!hasContent(val))
return mklist<value>(value(), reason(val));