diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-02-07 15:11:53 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-02-07 14:42:16 +0000 |
commit | a61caff747546441474b1a1fc50c664a13a1378f (patch) | |
tree | 81ec3e6aac7262a87a0958e7f3f0834e9f785ad3 /plugins/simtech/mm-shared-simtech.c | |
parent | a7a8fc909abeb0abe092feb2603d27216f0e1325 (diff) |
iface-modem-location: plug memleaks when updating gps raw variant
The helper method returning a variant from a MMLocationGpsRaw would
return already a full variant reference instead of a floating one, so
we were really increasing the refcount when doing g_variant_ref_sink()
in the location interface.
Fix this by consolidating all helper methods in libmm-glib that return
variants from the different MMLocationXX objects, so that they all
return full variants instead of floating ones.
Diffstat (limited to 'plugins/simtech/mm-shared-simtech.c')
0 files changed, 0 insertions, 0 deletions