[Libreoffice-commits] core.git: connectivity/source

David Ostrovsky david at ostrovsky.org
Thu May 28 03:22:40 PDT 2015


 connectivity/source/drivers/mozab/MStatement.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 46a985feca255abbebf826be6103ee8cc7f2cde1
Author: David Ostrovsky <david at ostrovsky.org>
Date:   Thu May 28 12:11:23 2015 +0200

    Fix memory leak
    
    The same was done in mork driver [1] and mork driver was derived from
    mozab driver.
    
    [1] 317306710d8f7c16bd6b9edc1e0af7e0e757cbac
    
    Change-Id: I64bc85819810707511a3cebd43802066cd94a727

diff --git a/connectivity/source/drivers/mozab/MStatement.cxx b/connectivity/source/drivers/mozab/MStatement.cxx
index 76f9896..637a2e2 100644
--- a/connectivity/source/drivers/mozab/MStatement.cxx
+++ b/connectivity/source/drivers/mozab/MStatement.cxx
@@ -102,6 +102,7 @@ void OCommonStatement::disposing()
     m_pConnection = NULL;
 
     m_pSQLIterator->dispose();
+    delete m_pParseTree;
 
     dispose_ChildImpl();
     OCommonStatement_IBASE::disposing();


More information about the Libreoffice-commits mailing list