diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-13 21:46:26 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-13 21:46:57 +0100 |
commit | 913f175b321caf7a99957fd7c4dc536f4101ab53 (patch) | |
tree | 2f687057e8749f24913c676cecbe34c3907d6f9e | |
parent | f4a37ca9584d7b8fcbd7aaa80162edcfde3cd4ed (diff) |
coverity#704144: Resource leak in object
Change-Id: I027028a7c6dc1a3eaa90e5b39d1a5d01122e02d4
-rw-r--r-- | filter/source/xsltfilter/XSLTFilter.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
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<XMultiServiceFactory> &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) { |