[phodav: 8/14] spice: unref GSocketAddress
- From: Marc-André Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav: 8/14] spice: unref GSocketAddress
- Date: Wed, 29 May 2019 12:49:35 +0000 (UTC)
commit 528aeb1443ed51cf213dd7a48a7f80b8b09f85b5
Author: Jakub Janků <jjanku redhat com>
Date: Thu May 16 11:52:20 2019 +0200
spice: unref GSocketAddress
No need to keep it around after calling
g_socket_listener_add_address().
Signed-off-by: Jakub Janků <jjanku redhat com>
spice/spice-webdavd.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index 4d3ca7e..980d9fe 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -1150,6 +1150,7 @@ main (int argc, char *argv[])
NULL,
NULL,
&error);
+ g_object_unref (saddr);
if (error)
{
g_printerr ("%s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]