CVS commit by mueller: fix memory leak, patch by Andre Eisenbach 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