[Libreoffice-commits] core.git: reportdesign/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 5 20:09:10 UTC 2019
reportdesign/source/ui/dlg/Formula.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit e011bf1c751833fa4702ee90dee77b6473ebdaf6
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Fri Jul 5 19:25:02 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri Jul 5 22:08:09 2019 +0200
Revert "cid#1448383: Resource leak in object (reportdesign/formula)"
I should have use delete or unique_ptr
This reverts commit 99ec957948ce3af0c40e9cb1560e2de59fbc8912.
Change-Id: I746c2307ca0d4d6cdbe8dbb1c6fd6de624666726
Reviewed-on: https://gerrit.libreoffice.org/75144
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 08794435871e..919deaeec869 100644
--- a/reportdesign/source/ui/dlg/Formula.cxx
+++ b/reportdesign/source/ui/dlg/Formula.cxx
@@ -97,7 +97,6 @@ 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