[Spice-devel] [PATCH v2 03/19] Free state on spice_server_destroy

Pavel Grunt pgrunt at redhat.com
Wed Nov 30 12:26:55 UTC 2016


On Fri, 2016-11-25 at 14:52 +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Pavel Grunt <pgrunt at redhat.com>
> ---
>  server/reds.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/server/reds.c b/server/reds.c
> index 1b1c737..c5e84ec 100644
> --- a/server/reds.c
> +++ b/server/reds.c
> @@ -3603,6 +3603,7 @@ SPICE_GNUC_VISIBLE void
> spice_server_destroy(SpiceServer *reds)
>  #ifdef RED_STATISTICS
>      stat_file_free(reds->stat_file);
>  #endif
> +    free(reds);
>  }
>  
>  SPICE_GNUC_VISIBLE spice_compat_version_t
> spice_get_current_compat_version(void)


More information about the Spice-devel mailing list