[Spice-devel] [vdagent-linux v4 3/7] console-kit: fix dangling pointer

Victor Toso victortoso at redhat.com
Tue May 3 11:01:09 UTC 2016


Introduced recently by b1b8b71961b9a28cc4896e9973d3a3c1975ead39
---
 src/console-kit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/console-kit.c b/src/console-kit.c
index c7e60df..6f86104 100644
--- a/src/console-kit.c
+++ b/src/console-kit.c
@@ -95,6 +95,7 @@ static void si_dbus_match_rule_update(struct session_info *info)
                    error.message);
             dbus_error_free(&error);
             g_free(info->match_seat_signals);
+            info->match_seat_signals = NULL;
         }
     }
 }
-- 
2.5.5



More information about the Spice-devel mailing list