[Spice-devel] [PATCH phodav 07/13] spice: unref GSocketAddress
Marc-André Lureau
marcandre.lureau at gmail.com
Thu May 23 13:37:54 UTC 2019
On Thu, May 23, 2019 at 10:37 AM Jakub Janků <jjanku at redhat.com> wrote:
>
> No need to keep it around after calling
> g_socket_listener_add_address().
>
> Signed-off-by: Jakub Janků <jjanku at redhat.com>
ack
> ---
> spice/spice-webdavd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
> index d9b1fae..681e909 100644
> --- a/spice/spice-webdavd.c
> +++ b/spice/spice-webdavd.c
> @@ -1137,6 +1137,7 @@ main (int argc, char *argv[])
> NULL,
> NULL,
> &error);
> + g_object_unref (saddr);
> if (error)
> {
> g_printerr ("%s\n", error->message);
> --
> 2.21.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
More information about the Spice-devel
mailing list