diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-19 18:28:39 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-19 18:28:39 +0100 |
commit | 5f893db57dad1a287842cfca4c78606707c34390 (patch) | |
tree | 29eb4f96739c0b11bd7271b550e6e8f09f6a11b1 /basic | |
parent | 6069b5162281ccc88eb242991a115197d0893fb4 (diff) |
how should I fix this memory leak??
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sb.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 496108da61b7..869db65846bb 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -1896,7 +1896,6 @@ sal_Bool StarBASIC::LoadData( SvStream& r, sal_uInt16 nVer ) SbModule* pMod = dynamic_cast<SbModule*>(pBase); if( !pMod ) { - delete pBase; return sal_False; } else if( pMod->ISA(SbJScriptModule) ) |