[Libreoffice-commits] core.git: filter/source
Julien Nabet
serval2412 at yahoo.fr
Wed Mar 13 13:49:03 PDT 2013
filter/source/xsltfilter/XSLTFilter.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 913f175b321caf7a99957fd7c4dc536f4101ab53
Author: Julien Nabet <serval2412 at 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)
{
More information about the Libreoffice-commits
mailing list