iface-modem-3gpp: fix variant ref handling in scan output

This commit is contained in:
Aleksander Morgado
2022-01-07 21:35:43 +01:00
parent 4515b00020
commit fb0dfb8751
+1 -1
View File
@@ -734,7 +734,7 @@ scan_networks_build_result (GList *info_list)
g_variant_builder_close (&builder);
}
return g_variant_ref (g_variant_builder_end (&builder));
return g_variant_ref_sink (g_variant_builder_end (&builder));
}
static void