From kde-commits Sat Aug 16 14:51:40 2003 From: Ewald Snel Date: Sat, 16 Aug 2003 14:51:40 +0000 To: kde-commits Subject: KDE_3_1_BRANCH: kdemultimedia/kaboodle X-MARC-Message: https://marc.info/?l=kde-commits&m=106104553315259 CVS commit by snel: Fix runtime segmentation fault when using gcc 3.3 (destructor called twice) (this is a backport of the HEAD branch patch by Carsten Pfeiffer) M +2 -1 kaboodleapp.cpp 1.4.2.2 --- kdemultimedia/kaboodle/kaboodleapp.cpp #1.4.2.1:1.4.2.2 @@ -46,5 +46,6 @@ Kaboodle::KaboodleApp::KaboodleApp() Kaboodle::KaboodleApp::~KaboodleApp() { - delete ui; + // do not delete ui here, it might be the one closing us via closeEvent + // ui is deleted automatically anyway. }