[LyX/master] Fix memory leak.

2020-02-18 Thread Pavel Sanda
commit b7af21ad7c0a9c26600584ed122772214d1da9ef Author: Pavel Sanda Date: Tue Feb 18 10:03:42 2020 +0100 Fix memory leak. Spotted by Scott. https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210447.html --- src/frontends/qt/TocModel.cpp |7 +++ src/frontends/qt/To

[LyX/master] Add missing check for nullptr on check of language encoding of next paragraph.

2020-02-18 Thread Stephan Witt
commit fc790bc1f54c0c0175c3a5bd192211990f08fbb0 Author: Stephan Witt Date: Tue Feb 18 09:03:20 2020 +0100 Add missing check for nullptr on check of language encoding of next paragraph. --- src/output_latex.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/

[LyX/master] Add missing initialization for local variable.

2020-02-18 Thread Stephan Witt
commit f904fb2d61796b12668e5942a8939be794fc0d59 Author: Stephan Witt Date: Tue Feb 18 08:59:20 2020 +0100 Add missing initialization for local variable. The autoargs variable is random for empty macro argument lists otherwise. --- src/Text3.cpp |2 +- 1 files changed, 1 insert