]> git.lyx.org Git - lyx.git/commitdiff
Fix regression of 6dfc25508
authorGeorg Baum <baum@lyx.org>
Sun, 3 Jul 2016 17:41:04 +0000 (19:41 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 3 Jul 2016 17:41:04 +0000 (19:41 +0200)
We need to remove the temp file now manually.

src/mathed/MathExtern.cpp

index 8b1e0f0c8d52a861f50f05edec7611db4ec8d982..ee2004b5088644679fe6dee20eb44f6197f4cef6 100644 (file)
@@ -1021,6 +1021,7 @@ namespace {
                lyxerr << "calling: " << cmd
                       << "\ninput: '" << data << "'" << endl;
                cmd_ret const ret = runCommand(command);
+               cas_tmpfile.removeFile();
                return ret.second;
        }