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

Alon Levy alevy at redhat.com
Mon Dec 6 02:49:14 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 aeb3796..e4e75b7 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