[gupnp/wip/phako/libsoup3: 5/6] Context: Do not leak reference on ACL object




commit a089b3830a6433f0f263dd9a2a24664bc0c3fe7a
Author: Jens Georg <mail jensge org>
Date:   Tue Dec 28 11:56:11 2021 +0100

    Context: Do not leak reference on ACL object

 libgupnp/gupnp-context.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgupnp/gupnp-context.c b/libgupnp/gupnp-context.c
index 2b73239..f57d9dd 100644
--- a/libgupnp/gupnp-context.c
+++ b/libgupnp/gupnp-context.c
@@ -321,6 +321,7 @@ gupnp_context_dispose (GObject *object)
         }
 
         g_clear_object (&priv->server);
+        g_clear_object (&priv->acl);
 
         /* Call super */
         object_class = G_OBJECT_CLASS (gupnp_context_parent_class);


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