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;