diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 20:42:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-07 20:42:29 +0000 |
commit | 54380811ac6a42851b1da407dc43441d4033b0ce (patch) | |
tree | 16b84b0a5ef49872218cc66acfbfa804d38bdbeb /vcl | |
parent | 8c2f9bb5b8df6bd4633c3a71345d31ab4e8ddd51 (diff) |
ofz: get the font info early inside leak disabled code
cause we don't have a tear-down to release it
Change-Id: I86a72288a1ed03bf5fc5b6a00d9067f3f1063580
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/commonfuzzer.hxx | 4 |
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(); |