<br><div class="gmail_extra"> Hi<br><br><div class="gmail_quote">On Fri, Dec 14, 2012 at 6:27 PM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, Dec 14, 2012 at 05:44:38PM +0100, Marc-André Lureau wrote:<br>
> ---<br>
> gtk/spice-channel.c | 2 ++<br>
> 1 file changed, 2 insertions(+)<br>
><br>
> diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c<br>
> index 264d1f2..052ffce 100644<br>
> --- a/gtk/spice-channel.c<br>
> +++ b/gtk/spice-channel.c<br>
> @@ -1353,6 +1353,7 @@ static gboolean spice_channel_perform_auth_sasl(SpiceChannel *channel)<br>
> g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV6) &&<br>
> (localAddr = addr_to_string(addr)) == NULL)<br>
> goto error;<br>
> + g_object_unref(addr);<br>
><br>
> /* Get remote address in form IPADDR:PORT */<br>
> addr = g_socket_get_remote_address(c->sock, NULL);<br>
> @@ -1364,6 +1365,7 @@ static gboolean spice_channel_perform_auth_sasl(SpiceChannel *channel)<br>
> g_socket_address_get_family(addr) == G_SOCKET_FAMILY_IPV6) &&<br>
> (remoteAddr = addr_to_string(addr)) == NULL)<br>
> goto error;<br>
> + g_object_unref(addr);<br>
<br>
</div>You need to unref addr in the error: branch too.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>indeed! done.<br></div></div><br><br clear="all"><br>-- <br>Marc-André Lureau<br>
</div>