Browse Source

[PATCH] qconf: fix uninitialsied member

Fixes a segfault reported by Randy.

Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Roman Zippel 18 years ago
parent
commit
f12aa70452
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scripts/kconfig/qconf.cc

+ 1 - 0
scripts/kconfig/qconf.cc

@@ -1259,6 +1259,7 @@ void ConfigSearchWindow::search(void)
  * Construct the complete config widget
  * Construct the complete config widget
  */
  */
 ConfigMainWindow::ConfigMainWindow(void)
 ConfigMainWindow::ConfigMainWindow(void)
+	: searchWindow(0)
 {
 {
 	QMenuBar* menu;
 	QMenuBar* menu;
 	bool ok;
 	bool ok;