About coverity 704144 (XSLTFilter)
Caolán McNamara
caolanm at redhat.com
Wed Mar 13 04:01:20 PDT 2013
On Tue, 2013-03-12 at 11:51 -0700, julien2412 wrote:
> Resource leak in object (CTOR_DTOR_LEAK)1. alloc_fn: Calling allocation
> function "osl_createCondition()".
> First I thought about adding a destructor for "XSLTFilter" which would just
> call "osl_destroyCondition"
Yeah, I'd do that, looks like the right fix to me. The other option is
to convert it from the C oslCondition to the C++ Condition which wraps
an oslCondition and calls osl_destroyCondition automatically on it at
dtor time.
C.
More information about the LibreOffice
mailing list