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

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 4 18:16:41 UTC 2019


 reportdesign/source/ui/dlg/Formula.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 99ec957948ce3af0c40e9cb1560e2de59fbc8912
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu Jul 4 18:55:03 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Jul 4 20:15:54 2019 +0200

    cid#1448383: Resource leak in object (reportdesign/formula)
    
    Change-Id: Ia57e6961dab9be857e81289f8d2d20f82f24643d
    Reviewed-on: https://gerrit.libreoffice.org/75099
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/reportdesign/source/ui/dlg/Formula.cxx b/reportdesign/source/ui/dlg/Formula.cxx
index 919deaeec869..08794435871e 100644
--- a/reportdesign/source/ui/dlg/Formula.cxx
+++ b/reportdesign/source/ui/dlg/Formula.cxx
@@ -97,6 +97,7 @@ FormulaDialog::~FormulaDialog()
     StoreFormEditData( m_pFormulaData );
     m_pEdit = nullptr;
     m_pAddField.clear();
+    free(m_pFormulaData);
 }
 
 // functions for right side


More information about the Libreoffice-commits mailing list