summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/qconf.cc
diff options
context:
space:
mode:
authorRoman Zippel <zippel@linux-m68k.org>2006-11-25 20:09:31 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-11-25 22:28:34 +0100
commitf12aa7045280836307e9bbdb1c676c4a94e2b3d3 (patch)
treeb4c488f722d20f5d88faed7e9e637d4f38558097 /scripts/kconfig/qconf.cc
parent[PATCH] Fix device_attribute memory leak in device_del (diff)
downloadlinux-f12aa7045280836307e9bbdb1c676c4a94e2b3d3.tar.xz
linux-f12aa7045280836307e9bbdb1c676c4a94e2b3d3.zip
[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>
Diffstat (limited to 'scripts/kconfig/qconf.cc')
-rw-r--r--scripts/kconfig/qconf.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 393f3749f330..338bdea96541 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;