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

List:       kde-commits
Subject:    kdelibs/kspell2/ui
From:       Dirk Mueller <mueller () kde ! org>
Date:       2004-10-28 9:58:37
Message-ID: 20041028095837.7F81A16CE5 () office ! kde ! org
[Download RAW message or body]

CVS commit by mueller: 

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


  M +5 -0      dialog.cpp   1.11
  M +1 -0      dialog.h   1.5


--- kdelibs/kspell2/ui/dialog.cpp  #1.10:1.11
@@ -73,4 +73,9 @@ Dialog::Dialog( BackgroundChecker *check
 }
 
+Dialog::~Dialog()
+{
+    delete d;
+}
+
 void Dialog::initConnections()
 {

--- kdelibs/kspell2/ui/dialog.h  #1.4:1.5
@@ -35,4 +35,5 @@ namespace KSpell2
         Dialog( BackgroundChecker *checker,
                 QWidget *parent, const char *name=0 );
+        ~Dialog();
 
         QString originalBuffer() const;


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

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