Kaydet (Commit) 1bb18010 authored tarafından Caolán McNamara's avatar Caolán McNamara

convince ofz lsan this isn't leak

Change-Id: Ifac8b0ac03cedb59deec1733b0d38887038992de
üst 9697b14b
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment