Re: [Spice-devel] [spice-gtk] Fix GSocketAddress leak in proxy_lookup_ready()

2015-04-16 Thread Christophe Fergeau
On Thu, Apr 16, 2015 at 03:56:39PM +0200, Marc-André Lureau wrote: > this patch was already acked in February. I had vague memories of already fixing that, but it's not present in my local git branch, sorry for the resend. I'll push it now this time. Christophe pgpnka2ic6hFP.pgp Description: PG

Re: [Spice-devel] [spice-gtk] Fix GSocketAddress leak in proxy_lookup_ready()

2015-04-16 Thread Marc-André Lureau
this patch was already acked in February. On Thu, Apr 16, 2015 at 3:36 PM, Christophe Fergeau wrote: > g_proxy_address_new() returns a new GProxyAddress, so we must unref it > when no longer needed. > > This fixes: > > ==6481== 234 (48 direct, 186 indirect) bytes in 1 blocks are definitely > los

[Spice-devel] [spice-gtk] Fix GSocketAddress leak in proxy_lookup_ready()

2015-04-16 Thread Christophe Fergeau
g_proxy_address_new() returns a new GProxyAddress, so we must unref it when no longer needed. This fixes: ==6481== 234 (48 direct, 186 indirect) bytes in 1 blocks are definitely lost in loss record 10,062 of 10, ==6481==at 0x31FF230A58: g_type_create_instance (gtype.c:1849) ==6481==by 0x