diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-07-05 19:25:02 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-07-05 22:08:09 +0200 |
commit | e011bf1c751833fa4702ee90dee77b6473ebdaf6 (patch) | |
tree | 51e05fc09634163ad7779ce3c4a1122e88299f11 /reportdesign/source/ui | |
parent | bf4b2e9f1ef51731299714119361f6e5f73d9072 (diff) |
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@yahoo.fr>
Diffstat (limited to 'reportdesign/source/ui')
-rw-r--r-- | reportdesign/source/ui/dlg/Formula.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
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 |