summaryrefslogtreecommitdiffstats
path: root/server/main_dispatcher.c
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2013-05-17 10:36:26 -0400
committerAlon Levy <alevy@redhat.com>2013-05-17 11:06:34 -0400
commite9cf575938df398d38d36cfb96213cc98fb8daf7 (patch)
tree1db5cf3e7fca737425b9cbc2796bd40e9bcf98b1 /server/main_dispatcher.c
parentfeb913e56b65a11e64294850ffe83e397df41d7c (diff)
downloadspice-e9cf575938df398d38d36cfb96213cc98fb8daf7.tar.gz
spice-e9cf575938df398d38d36cfb96213cc98fb8daf7.tar.xz
spice-e9cf575938df398d38d36cfb96213cc98fb8daf7.zip
server/dispatchers: initialize stack to 0 for valgrind
Diffstat (limited to 'server/main_dispatcher.c')
-rw-r--r--server/main_dispatcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main_dispatcher.c b/server/main_dispatcher.c
index 92b0791c..e7a451a0 100644
--- a/server/main_dispatcher.c
+++ b/server/main_dispatcher.c
@@ -78,7 +78,7 @@ static void main_dispatcher_handle_channel_event(void *opaque,
void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info)
{
- MainDispatcherChannelEventMessage msg;
+ MainDispatcherChannelEventMessage msg = {0,};
if (pthread_self() == main_dispatcher.base.self) {
main_dispatcher_self_handle_channel_event(event, info);