[gupnp: 20/25] Context: Do not leak reference on ACL object




commit 8f149a1c87c9bc00a85a8f494e11a36f6d8b992e
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 390f17d..335cce8 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]