[PATCH] coverity#982283: Resource leak in object

Julien Nabet (via Code Review) gerrit at gerrit.libreoffice.org
Fri Mar 1 11:09:02 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2500

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/00/2500/1

coverity#982283: Resource leak in object

Change-Id: Iedf1c0ec56064dbeaa20bb75114fb86a19c38ed9
---
M svx/source/tbxctrls/tbcontrl.cxx
1 file changed, 1 insertion(+), 0 deletions(-)



diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index a97ebd6..3eb4655 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -1831,6 +1831,7 @@
 // -----------------------------------------------------------------------
 SvxStyleToolBoxControl::~SvxStyleToolBoxControl()
 {
+    delete pImpl;
 }
 
 // -----------------------------------------------------------------------

-- 
To view, visit https://gerrit.libreoffice.org/2500
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iedf1c0ec56064dbeaa20bb75114fb86a19c38ed9
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet <serval2412 at yahoo.fr>



More information about the LibreOffice mailing list