libibus: Fix a refcount issue in ibus_prop_list_deserialize()
BUG=None TEST=Linux desktop Review URL: https://codereview.appspot.com/5796079
This commit is contained in:
Родитель
3179c4fa29
Коммит
e38ff0fd94
|
@ -108,7 +108,6 @@ ibus_prop_list_deserialize (IBusPropList *prop_list,
|
|||
GVariant *var;
|
||||
while (g_variant_iter_loop (iter, "v", &var)) {
|
||||
IBusProperty *prop = IBUS_PROPERTY (ibus_serializable_deserialize (var));
|
||||
g_object_ref_sink (prop);
|
||||
ibus_prop_list_append (prop_list, prop);
|
||||
}
|
||||
g_variant_iter_free (iter);
|
||||
|
|
Загрузка…
Ссылка в новой задаче