summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-12-08 17:22:03 +0100
committerJens Georg <mail@jensge.org>2022-12-08 17:22:03 +0100
commitf7bd7f9134bf7b6d7deb562ffa876c66ef2361b2 (patch)
tree304b4576274a7e7d8e54e15133df44ac13535594
parent298d3f77decc31ec573d2efdbe53ad0547cd46e0 (diff)
downloadgupnp-f7bd7f9134bf7b6d7deb562ffa876c66ef2361b2.tar.gz
Do not leak RtmAddrInfo
-rw-r--r--libgupnp/gupnp-linux-context-manager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgupnp/gupnp-linux-context-manager.c b/libgupnp/gupnp-linux-context-manager.c
index b99a095..e4e77ff 100644
--- a/libgupnp/gupnp-linux-context-manager.c
+++ b/libgupnp/gupnp-linux-context-manager.c
@@ -69,6 +69,8 @@ rtm_addr_info_free (RtmAddrInfo *info)
g_clear_pointer (&info->label, g_free);
g_clear_object (&info->address);
g_clear_object (&info->mask);
+
+ g_free (info);
}
G_DEFINE_AUTOPTR_CLEANUP_FUNC (RtmAddrInfo, rtm_addr_info_free)