1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/x11-wm/bbkeys/files/patch-src_KeyClient.cpp
Florent Thoumie a75d049e14 - Fix segfault on 6.x.
PR:		ports/82563
Submitted by:	maintainer
Obtained from:	bbkeys CVS
2005-06-23 08:19:35 +00:00

15 lines
332 B
C++

--- src/KeyClient.cpp.orig Thu Jun 9 09:07:14 2005
+++ src/KeyClient.cpp Thu Jun 9 09:10:24 2005
@@ -102,6 +102,11 @@
_netclient = new Netclient(this->display());
_active = _clients.end();
+ // Initialize uninitialized pointers to NULL
+ _keybindings = NULL;
+ config_check_timer = NULL;
+
+
initialize();
}