From kde-commits Thu Oct 28 09:58:37 2004 From: Dirk Mueller Date: Thu, 28 Oct 2004 09:58:37 +0000 To: kde-commits Subject: kdelibs/kspell2/ui Message-Id: <20041028095837.7F81A16CE5 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109895756529498 CVS commit by mueller: fix memory leak, patch by Andre Eisenbach 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;