summaryrefslogtreecommitdiff
path: root/idl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-28 08:54:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-28 08:55:12 +0200
commitf961cf50a7bcdcb173aa835db7bd891841947c31 (patch)
tree73f5906468d0b911406c7a91d9aa24cc0f02c13e /idl/source
parent1d203f2d3f45e3323530826eb5642eb52d1c1909 (diff)
Fix memory leak
Change-Id: Ie12862f8df701298db51ed45b5c24814a6f94def
Diffstat (limited to 'idl/source')
-rw-r--r--idl/source/objects/types.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index fbf7f3556b09..2916b660b0d3 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -784,6 +784,10 @@ SvMetaType::SvMetaType( const OString& rName,
aBasicPostfix.setString(rBasicPostfix);
}
+SvMetaType::~SvMetaType() {
+ delete pAttrList;
+}
+
void SvMetaType::Load( SvPersistStream & rStm )
{
SvMetaExtern::Load( rStm );