diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp index 8b1e0f0c8d..ee2004b508 100644 --- a/src/mathed/MathExtern.cpp +++ b/src/mathed/MathExtern.cpp @@ -1021,6 +1021,7 @@ namespace { lyxerr << "calling: " << cmd << "\ninput: '" << data << "'" << endl; cmd_ret const ret = runCommand(command); + cas_tmpfile.removeFile(); return ret.second; }