diff options
author | Jens Georg <mail@jensge.org> | 2022-12-08 17:22:03 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2022-12-08 17:22:03 +0100 |
commit | f7bd7f9134bf7b6d7deb562ffa876c66ef2361b2 (patch) | |
tree | 304b4576274a7e7d8e54e15133df44ac13535594 | |
parent | 298d3f77decc31ec573d2efdbe53ad0547cd46e0 (diff) | |
download | gupnp-f7bd7f9134bf7b6d7deb562ffa876c66ef2361b2.tar.gz |
Do not leak RtmAddrInfo
-rw-r--r-- | libgupnp/gupnp-linux-context-manager.c | 2 |
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) |