Kaydet (Commit) a050b178 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

coverity#705648: fix memory leak

Change-Id: I1ba301831758f2ba05226588ec71b1a911d7bbba
üst b55d15e3
...@@ -619,6 +619,7 @@ IMPL_LINK( SaneDlg, ModifyHdl, Edit*, pEdit ) ...@@ -619,6 +619,7 @@ IMPL_LINK( SaneDlg, ModifyHdl, Edit*, pEdit )
if( fRes > pDouble[ 1 ] ) if( fRes > pDouble[ 1 ] )
fRes = pDouble[ 1 ]; fRes = pDouble[ 1 ];
} }
delete[] pDouble;
maReslBox.SetValue( (sal_uLong)fRes ); maReslBox.SetValue( (sal_uLong)fRes );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment