On Fri, 2016-11-25 at 14:52 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <[email protected]>
Acked-by: Pavel Grunt <[email protected]>
> ---
>  server/reds.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 1a812e4..bc0cc01 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3594,6 +3594,10 @@ SPICE_GNUC_VISIBLE void
> spice_server_destroy(SpiceServer *reds)
>      }
>      reds_cleanup(reds);
>  
> +    if (reds->mig_timer) {
> +        reds_core_timer_remove(reds, reds->mig_timer);
> +    }
> +
>      /* remove the server from the list of servers so that we don't
> attempt to
>       * free it again at exit */
>      pthread_mutex_lock(&global_reds_lock);
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to