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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]