diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-26 23:29:27 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-26 23:29:36 +0100 |
commit | eb69f807c4709a908222cb57b45a8733be663c56 (patch) | |
tree | bd5435c5e12d8558e3ce9c5c7124d0d04dd5216d /sfx2/source | |
parent | b57951a6b372bd77a6207b67fa305270129fcb71 (diff) |
coverity#440839 Resource leak in object
Change-Id: Icf65fdaac8c5ed852a85dce18fc49d401c12074e
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index b17b0389aa9f..6e13217e8be2 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -175,6 +175,10 @@ struct TabDlg_Impl pData ( new SfxTabDlgData_Impl( nCnt ) ), pController ( NULL ) {} + ~TabDlg_Impl() + { + delete(pData); + } }; Data_Impl* Find( SfxTabDlgData_Impl& rArr, sal_uInt16 nId, sal_uInt16* pPos = 0 ); |