[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/guiutils
From:       Laurent Montel <montel () kde ! org>
Date:       2009-04-17 11:35:44
Message-ID: 1239968144.327608.8773.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 955273 by mlaurent:

Fix mem leak


 M  +5 -0      KoUniColorDialog.cpp  
 M  +1 -1      KoUniColorDialog.h  


--- trunk/koffice/libs/guiutils/KoUniColorDialog.cpp #955272:955273
@@ -39,6 +39,11 @@
     addPage(d->chooser, i18n("Color Selector"));
 }
 
+KoUniColorDialog::~KoUniColorDialog()
+{
+   delete d;
+}
+
 KoColor KoUniColorDialog::color() const
 {
     return d->chooser->color();
--- trunk/koffice/libs/guiutils/KoUniColorDialog.h #955272:955273
@@ -37,7 +37,7 @@
     Q_OBJECT
 public:
     explicit KoUniColorDialog(KoColor &initialColor, QWidget *parent = 0);
-    virtual ~KoUniColorDialog() {}
+    virtual ~KoUniColorDialog();
 
     /**
       * @return the selected color
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic