found by running
make CppunitTest_sc_macros_test CPPUNIT_TEST_NAME=testTdf133889
under ASAN with detect_leaks=1
We end up with a cycle here, between the SbxArrayRef and one of its children.
Clear the SbxArray to break the cycle.
Change-Id: Ia996eca6da7d9f39821305514b456b7aba799cf1
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/2608
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
(cherry picked from commit ff5487aaab39aa8b862da1cf0b3f41e8fb1f8d7d)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/206324
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>