bearer-mbim: fix leaked 'MMBearerIpConfig' objects

This commit is contained in:
Aleksander Morgado
2014-01-24 21:26:46 +01:00
parent ae86ce1cbb
commit 561c8b715e

View File

@@ -399,6 +399,10 @@ ip_configuration_query_ready (MbimDevice *device,
ipv4_config, ipv4_config,
ipv6_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_ipv4_element_array_free (ipv4address);
mbim_ipv6_element_array_free (ipv6address); mbim_ipv6_element_array_free (ipv6address);
g_free (ipv4dnsserver); g_free (ipv4dnsserver);