kconfig: fix qconf segfault by deleting heap objects
authorChris Bainbridge <chris.bainbridge@gmail.com>
Fri, 8 Jan 2016 20:44:04 +0000 (20:44 +0000)
committerMichal Marek <mmarek@suse.com>
Mon, 11 Jan 2016 08:45:08 +0000 (09:45 +0100)
commit5b61c7bd25f13daa58f2507991e87e990d7c6010
treecdad5faee770e288b628e1761d8bd205383525c7
parentaab24a897cfba9dd371f6aac45dbcdae0b23def6
kconfig: fix qconf segfault by deleting heap objects

On Debian stable (qt-4.8.6) 'make xconfig' intermittently fails due to
qconf segfaulting at exit time in QXcbEventReader. The cause of this is
destructors on the heap objects never being called, so fix this by
properly deleting the heap objects before exit.

Signed-off-by: Chris Bainbridge <chris.bainbridge@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/kconfig/qconf.cc