Commit 26aa54cc authored by Zeeshan Ali's avatar Zeeshan Ali

modem: Unref 3G location object on clearing 3G caps

parent 61568c2a
...@@ -664,6 +664,7 @@ gclue_modem_disable_3g (GClueModem *modem, ...@@ -664,6 +664,7 @@ gclue_modem_disable_3g (GClueModem *modem,
g_return_val_if_fail (GCLUE_IS_MODEM (modem), FALSE); g_return_val_if_fail (GCLUE_IS_MODEM (modem), FALSE);
g_return_val_if_fail (gclue_modem_get_is_3g_available (modem), FALSE); g_return_val_if_fail (gclue_modem_get_is_3g_available (modem), FALSE);
g_clear_object (&modem->priv->location_3gpp);
g_debug ("Clearing 3GPP location caps from modem"); g_debug ("Clearing 3GPP location caps from modem");
return clear_caps (modem, return clear_caps (modem,
MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI, MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment