forked from lix-project/lix
free valmap on exit
This commit is contained in:
parent
5cfd038bd8
commit
f37562187f
|
@ -164,7 +164,7 @@ ref<EvalState> EvalCommand::getEvalState()
|
|||
|
||||
if (expr.staticenv)
|
||||
{
|
||||
auto vm = mapStaticEnvBindings(*expr.staticenv.get(), env);
|
||||
std::unique_ptr<valmap> vm(mapStaticEnvBindings(*expr.staticenv.get(), env));
|
||||
runRepl(evalState, error, expr, *vm);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue