summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-28 17:00:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-28 17:01:34 +0000
commit1bb18010973540911aea7f1ab89ffe0517c2879e (patch)
treed375514ed4d89bc2782b43c703c9938501a0f1c8 /vcl/workben
parent9697b14b65e923f5b9fdfcc27cad00387372d202 (diff)
convince ofz lsan this isn't leak
Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/commonfuzzer.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index ea8c342fd79e..b18e033a831f 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();