Revert "another memory leak based on release().release()"

This reverts commit 1e9baadcb71cb393864be4e8580a50183cb7152e.

because JunitTest_sc_unoapi now fails