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

List:       kde-commits
Subject:    kdelibs/kdeui
From:       Dirk Mueller <mueller () kde ! org>
Date:       2004-10-28 10:01:05
Message-ID: 20041028100105.0CF5D16CED () office ! kde ! org
[Download RAW message or body]

CVS commit by mueller: 

fix memory leak, patch by Andre Eisenbach <int2str@gmail.com>


  M +1 -0      kactionselector.cpp   1.11
  M +5 -0      kcharselect.cpp   1.39
  M +1 -0      kcharselect.h   1.30


--- kdelibs/kdeui/kactionselector.cpp  #1.10:1.11
@@ -119,4 +119,5 @@ KActionSelector::KActionSelector( QWidge
 KActionSelector::~KActionSelector()
 {
+  delete d;
 }
 

--- kdelibs/kdeui/kcharselect.h  #1.29:1.30
@@ -154,4 +154,5 @@ public:
     KCharSelect( QWidget *parent, const char *name,
                  const QString &font = QString::null, const QChar &chr = ' ', int tableNum = 0 );
+    ~KCharSelect();
     /**
      * Reimplemented.

--- kdelibs/kdeui/kcharselect.cpp  #1.38:1.39
@@ -436,4 +436,9 @@ KCharSelect::KCharSelect( QWidget *paren
 }
 
+KCharSelect::~KCharSelect()
+{
+    delete d;
+}
+
 //==================================================================
 QSize KCharSelect::sizeHint() const


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

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