emul_interpreter: fix memleak (again)