From 913f175b321caf7a99957fd7c4dc536f4101ab53 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 13 Mar 2013 21:46:26 +0100 Subject: coverity#704144: Resource leak in object Change-Id: I027028a7c6dc1a3eaa90e5b39d1a5d01122e02d4 --- filter/source/xsltfilter/XSLTFilter.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'filter') diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 2764a37e1ca2..6feebdd08460 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -131,6 +131,8 @@ namespace XSLT // ctor... XSLTFilter(const css::uno::Reference &r); + ~XSLTFilter(); + // XStreamListener virtual void SAL_CALL error(const Any& a) throw (RuntimeException); @@ -167,6 +169,11 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False) m_cTransformed = osl_createCondition(); } + XSLTFilter::~XSLTFilter() + { + osl_destroyCondition(m_cTransformed); + } + void XSLTFilter::disposing(const EventObject&) throw (RuntimeException) { -- cgit