diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-24 21:26:46 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-01-24 21:26:46 +0100 |
commit | 561c8b715ecdff3e4e6f0bc397e4ca46b71f21f2 (patch) | |
tree | 2e891c17677c49f69c6f1d5c03d0789512994f37 | |
parent | ae86ce1cbbea78fe90c4801f50ab0aa6671547c6 (diff) |
bearer-mbim: fix leaked 'MMBearerIpConfig' objects
-rw-r--r-- | src/mm-bearer-mbim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c index a3bc788e..ff5c6a06 100644 --- a/src/mm-bearer-mbim.c +++ b/src/mm-bearer-mbim.c @@ -399,6 +399,10 @@ ip_configuration_query_ready (MbimDevice *device, ipv4_config, ipv6_config); + if (ipv4_config) + g_object_unref (ipv4_config); + if (ipv6_config) + g_object_unref (ipv6_config); mbim_ipv4_element_array_free (ipv4address); mbim_ipv6_element_array_free (ipv6address); g_free (ipv4dnsserver); |