diff options
author | Ted Gould <ted@gould.cx> | 2011-02-15 11:50:54 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-15 11:50:54 -0600 |
commit | e1094452eda0314065bb1b02d616d573c0367a74 (patch) | |
tree | b557d324cadaf66a63b7f2220da364640c1fcc88 /tests | |
parent | ee4fda3072d31b828c5d607b9ac0a4ab6c7ee320 (diff) | |
download | libdbusmenu-e1094452eda0314065bb1b02d616d573c0367a74.tar.gz libdbusmenu-e1094452eda0314065bb1b02d616d573c0367a74.tar.bz2 libdbusmenu-e1094452eda0314065bb1b02d616d573c0367a74.zip |
Don't unref the variant as we don't really have a ref to it, it's still floating
Diffstat (limited to 'tests')
-rw-r--r-- | tests/json-loader.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/json-loader.c b/tests/json-loader.c index 14e90e0..36157dc 100644 --- a/tests/json-loader.c +++ b/tests/json-loader.c @@ -109,7 +109,6 @@ set_props (DbusmenuMenuitem * mi, JsonObject * node) if (variant != NULL) { dbusmenu_menuitem_property_set_variant(mi, member, variant); - g_variant_unref(variant); } } |