summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/commonfuzzer.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index 969d73b2f7a5..bafaaeebf32c 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -22,6 +22,7 @@
#include <vcl/wmf.hxx>
#include <unistd.h>
#include <stdlib.h>
+#include "unx/fontmanager.hxx"
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -86,6 +87,9 @@ 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
+ psp::PrintFontManager::get();
+
if (__lsan_enable)
__lsan_enable();