Re: [PATCH] kconfig: fix qconf segfault by deleting heap objects

From: Michal Marek
Date: Mon Jan 11 2016 - 03:46:49 EST


On 2016-01-08 21:44, Chris Bainbridge wrote:
> 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@xxxxxxxxx>
> ---
> Trivial error, as described at https://forum.qt.io/topic/26658/solved-segfault-on-qapplication-exit
> ---
> scripts/kconfig/qconf.cc | 2 ++
> 1 file changed, 2 insertions(+)

Applied to kbuild.git#kconfig, thanks.

Michal