[Libreoffice-commits] core.git: vcl/workben
Caolán McNamara
caolanm at redhat.com
Tue Feb 28 17:02:25 UTC 2017
vcl/workben/commonfuzzer.hxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 1bb18010973540911aea7f1ab89ffe0517c2879e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 28 17:00:47 2017 +0000
convince ofz lsan this isn't leak
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index ea8c342..b18e033 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -18,6 +18,7 @@
#include <unotools/configmgr.hxx>
#include <rtl/strbuf.hxx>
#include <osl/file.hxx>
+#include <vcl/print.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wmf.hxx>
#include <unistd.h>
@@ -88,8 +89,11 @@ extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
utl::ConfigManager::EnableAvoidConfig();
InitVCL();
- //we don't have a de-init, so get the font info here inside the leak disabled code
+ //we don't have a de-init, so inside this leak disabled region...
+ //get the font info
psp::PrintFontManager::get();
+ //get the printer info
+ Printer::GetPrinterQueues();
if (__lsan_enable)
__lsan_enable();
More information about the Libreoffice-commits
mailing list