diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-03 04:03:15 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-03-03 04:35:11 +0100 |
commit | a050b17880104f3cd172a1cfdc969110cb27f172 (patch) | |
tree | bef3a1c91ad20b49026ea126b292615fca81199a /extensions | |
parent | b55d15e3af60ab9f5c5b6f2c97ec5c8a29396429 (diff) |
coverity#705648: fix memory leak
Change-Id: I1ba301831758f2ba05226588ec71b1a911d7bbba
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index a69a45241575..36feba647bf9 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -619,6 +619,7 @@ IMPL_LINK( SaneDlg, ModifyHdl, Edit*, pEdit ) if( fRes > pDouble[ 1 ] ) fRes = pDouble[ 1 ]; } + delete[] pDouble; maReslBox.SetValue( (sal_uLong)fRes ); } } |