Re: [spice-gtk] namedpipelistener: do not leak the error message

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

 



On Tue, Feb 23, 2016 at 9:06 AM, Fabiano Fidêncio <fidencio@xxxxxxxxxx> wrote:
> From: Ignacio Casal Quinteiro <icq@xxxxxxxxx>
>
> ---
>  src/controller/namedpipelistener.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/controller/namedpipelistener.c b/src/controller/namedpipelistener.c
> index 820c606..b4b6057 100644
> --- a/src/controller/namedpipelistener.c
> +++ b/src/controller/namedpipelistener.c
> @@ -126,6 +126,7 @@ connect_ready (gpointer user_data)
>                                         G_IO_ERROR_INVALID_ARGUMENT,
>                                         "GetOverlappedResult(): %s %d",
>                                         emsg, errsv);
> +      g_free (emsg);
>      }
>
>    g_simple_async_result_complete (c->async_result);
> --
> 2.5.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

The patch is originally from nacho. Sent to the mailing list for the record.
Thanks for the contribution!

Acked-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx>

Best Regards,
-- 
Fabiano Fidêncio
_______________________________________________
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]