region: Fix memory leak
The returned result of g_variant_get_strv() has to be freed when no-longer needed https://bugzilla.gnome.org/show_bug.cgi?id=782047
This commit is contained in:
parent
a09a5d7e9e
commit
aebf04f6f2
1 changed files with 1 additions and 0 deletions
|
@ -1509,6 +1509,7 @@ on_localed_properties_changed (GDBusProxy *proxy,
|
|||
g_free (priv->system_region);
|
||||
priv->system_region = g_strdup (time);
|
||||
g_variant_unref (v);
|
||||
g_free (strv);
|
||||
|
||||
update_language_label (self);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue