ChangedUIEventListener is refcounted, mustn't be helt by unique_ptr
Fixes c0ce1ec3 "loplugin:unusedfields in sfx2 part1" part on "fix a memory leak in NotebookbarTabControl where it was not freeing it's m_pListener field", which now caused ASan to report heap-use-after- free during CppunitTest_sw_dialogs_test. Change-Id: Ic0209650692a34abd1ee451713615a03ed9c746f
Showing
Please
register
or
sign in
to comment