]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeX.cpp
Fix memory leak.
[lyx.git] / src / LaTeX.cpp
index dbf369ea11c1c16906585c3da263e64e2da68ae8..d326630c6dac154c8a08536c5084b1beadecb93b 100644 (file)
@@ -610,7 +610,7 @@ int LaTeX::scanLogFile(TeXErrors & terr)
        LYXERR(Debug::LATEX) << "Log file: " << tmp << endl;
        FileName const fn = FileName(makeAbsPath(tmp));
        ifstream ifs(fn.toFilesystemEncoding().c_str());
-       bool fle_style;
+       bool fle_style = false;
        static regex file_line_error(".+\\.\\D+:[0-9]+: (.+)");
 
        string token;