[Spice-devel] [PATCH 6/9] server/red_dispatcher: close pa hole in RedWorkerMessageDisplayConnect for valgrind

Alon Levy alevy at redhat.com
Fri May 17 08:08:11 PDT 2013


---
 server/red_dispatcher.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/red_dispatcher.h b/server/red_dispatcher.h
index 4d0d2a8..7d23b11 100644
--- a/server/red_dispatcher.h
+++ b/server/red_dispatcher.h
@@ -43,10 +43,10 @@ void red_dispatcher_client_monitors_config(VDAgentMonitorsConfig *monitors_confi
 typedef struct RedWorkerMessageDisplayConnect {
     RedClient * client;
     RedsStream * stream;
-    int migration;
     uint32_t *common_caps; // red_worker should free
-    int num_common_caps;
     uint32_t *caps;        // red_worker should free
+    int migration;
+    int num_common_caps;
     int num_caps;
 } RedWorkerMessageDisplayConnect;
 
-- 
1.8.2.1



More information about the Spice-devel mailing list