iface-modem-location: fix very very unlikely memory leak

This commit is contained in:
Aleksander Morgado
2020-01-10 13:21:16 +01:00
parent 97f9679b70
commit 7c66b608c9
+1
View File
@@ -151,6 +151,7 @@ build_location_dictionary (GVariant *previous,
g_assert_not_reached ();
default:
g_warn_if_reached ();
g_variant_unref (value);
break;
}
}