From 69ccc233df9523e4d48d37f295dc131b0e4fb7b5 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Wed, 7 Aug 2024 13:10:40 +0200 Subject: [PATCH] restore delete --- common/tikzpreviewgenerator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/tikzpreviewgenerator.cpp b/common/tikzpreviewgenerator.cpp index c208d4b..ac6f4f4 100644 --- a/common/tikzpreviewgenerator.cpp +++ b/common/tikzpreviewgenerator.cpp @@ -72,6 +72,8 @@ TikzPreviewGenerator::~TikzPreviewGenerator() m_thread.wait(); } // Q_EMIT processRunning(false); // this causes a segmentation fault on exit on Arch Linux + + delete m_tikzPdfDoc; } /***************************************************************************/