[Spice-devel] [PATCH 07/13] server/inputs_channel: initialize inputs_channel to NULL

Alon Levy alevy at redhat.com
Tue Dec 7 04:44:29 PST 2010


---
 server/inputs_channel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 54b2e2d..d2818f2 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -82,7 +82,7 @@ static SpiceTabletInstance *tablet = NULL;
 
 static SpiceTimer *key_modifiers_timer;
 
-static InputsChannel *inputs_channel;
+static InputsChannel *inputs_channel = NULL;
 
 #define KEY_MODIFIERS_TTL (1000 * 2) /*2sec*/
 
-- 
1.7.3.2



More information about the Spice-devel mailing list