summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-12-30 20:24:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-12-30 20:30:40 +0000
commite1f4de66afa5f0cf54f90a1fed150dc200680da2 (patch)
treebbe1ef7d3c22aaaf1fbf4f3f22b61f75c344be94
parent4f248215bbb0e356a47c6cbe6a1388fe02e6c373 (diff)
free resource missing here
(cherry picked from commit 4f5f49deb3a6eb549d3950cb4773f0601c1fd52c) Change-Id: Ibe4436f1d002123d455f447da1185d26591462ec
-rw-r--r--sc/source/ui/miscdlgs/retypepassdlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/miscdlgs/retypepassdlg.cxx b/sc/source/ui/miscdlgs/retypepassdlg.cxx
index 7abf7e98cc8f..307966bb3288 100644
--- a/sc/source/ui/miscdlgs/retypepassdlg.cxx
+++ b/sc/source/ui/miscdlgs/retypepassdlg.cxx
@@ -70,6 +70,7 @@ ScRetypePassDlg::ScRetypePassDlg(Window* pParent) :
meDesiredHash(PASSHASH_SHA1)
{
Init();
+ FreeResource();
}
ScRetypePassDlg::~ScRetypePassDlg()
@@ -413,6 +414,7 @@ ScRetypePassInputDlg::ScRetypePassInputDlg(Window* pParent, ScPassHashProtectabl
mpProtected(pProtected)
{
Init();
+ FreeResource();
}
ScRetypePassInputDlg::~ScRetypePassInputDlg()