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

Jonathon Jongsma jjongsma at redhat.com
Tue May 3 16:39:10 UTC 2016


Acked-by: Jonathon Jongsma <jjongsma at redhat.com>


On Tue, 2016-05-03 at 13:01 +0200, Victor Toso wrote:
> 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;
>          }
>      }
>  }


More information about the Spice-devel mailing list