diff options
author | Victor Toso <victortoso@redhat.com> | 2016-05-03 11:19:30 +0200 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2016-05-04 09:23:23 +0200 |
commit | 0064dca2dd5dc63987110a82bfde7892b52255ea (patch) | |
tree | 708d33cc905b2d4cd4c3230fe337ff83120da634 | |
parent | 691893864f14fbf75f8684359f13c2c5c4a93c07 (diff) |
console-kit: fix dangling pointer
Introduced recently by b1b8b71961b9a28cc4896e9973d3a3c1975ead39
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
-rw-r--r-- | src/console-kit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } } |