From: Roman Zippel Date: Sat, 25 Nov 2006 19:09:31 +0000 (-0800) Subject: [PATCH] qconf: fix uninitialsied member X-Git-Tag: v2.6.19~35 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f12aa7045280836307e9bbdb1c676c4a94e2b3d3;p=linux-2.6-omap-h63xx.git [PATCH] qconf: fix uninitialsied member Fixes a segfault reported by Randy. Cc: Randy Dunlap Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 393f3749f33..338bdea9654 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1259,6 +1259,7 @@ void ConfigSearchWindow::search(void) * Construct the complete config widget */ ConfigMainWindow::ConfigMainWindow(void) + : searchWindow(0) { QMenuBar* menu; bool ok;