summaryrefslogtreecommitdiff
path: root/src/pyinterp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyinterp.cc')
-rw-r--r--src/pyinterp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyinterp.cc b/src/pyinterp.cc
index 3354d3e9..e15ff503 100644
--- a/src/pyinterp.cc
+++ b/src/pyinterp.cc
@@ -320,7 +320,7 @@ value_t python_interpreter_t::python_command(call_scope_t& args)
if (! is_initialized)
initialize();
- char ** argv(new char *[args.size() + 1]);
+ char ** argv = new char *[args.size() + 1];
argv[0] = new char[std::strlen(argv0) + 1];
std::strcpy(argv[0], argv0);