filter/source/xsltfilter/XSLTFilter.cxx | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit 913f175b321caf7a99957fd7c4dc536f4101ab53 Author: Julien Nabet <serval2...@yahoo.fr> Date: Wed Mar 13 21:46:26 2013 +0100 coverity#704144: Resource leak in object Change-Id: I027028a7c6dc1a3eaa90e5b39d1a5d01122e02d4 diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 2764a37..6feebdd 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits