---
 server/red_channel.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/red_channel.c b/server/red_channel.c
index 3dada93..bfa6aaf 100644
--- a/server/red_channel.c
+++ b/server/red_channel.c
@@ -481,6 +481,10 @@ void red_channel_push(RedChannel *channel)
 {
     PipeItem *pipe_item;
 
+    if (!channel) {
+        return;
+    }
+
     if (!channel->during_send) {
         channel->during_send = TRUE;
     } else {
-- 
1.7.3.4

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to