summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2012-06-19 08:58:58 +0000
committerHerbert Dürr <hdu@apache.org>2012-06-19 08:58:58 +0000
commit259acf52e43e1d494e1d2cdc98de3de92fdcd1a3 (patch)
tree4b021c82f4e7203d4d49edee29a164f7d2ccc6c0 /svtools
parent2e65abc42868092220df0dba3e8d541ade64408f (diff)
#i120019# memory leak in EmbeddedObjectRef::~EmbeddedObjectRef()
Patch by: Chao Huang Found by: Chao Huang Review by: Herbert Duerr
Notes
Notes: prefer: de8229c1811123c0f17095d96894bbbe0436ce3e
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/embedhlp.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index 933386b7beaf..971f2ca30642 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -303,6 +303,7 @@ EmbeddedObjectRef::~EmbeddedObjectRef()
if ( mpImp->pHCGraphic )
DELETEZ( mpImp->pHCGraphic );
Clear();
+ delete mpImp;
}
/*
EmbeddedObjectRef& EmbeddedObjectRef::operator = ( const EmbeddedObjectRef& rObj )