aboutsummaryrefslogtreecommitdiff
path: root/tests/json-loader.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-15 11:50:54 -0600
committerTed Gould <ted@gould.cx>2011-02-15 11:50:54 -0600
commite1094452eda0314065bb1b02d616d573c0367a74 (patch)
treeb557d324cadaf66a63b7f2220da364640c1fcc88 /tests/json-loader.c
parentee4fda3072d31b828c5d607b9ac0a4ab6c7ee320 (diff)
downloadlibdbusmenu-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/json-loader.c')
-rw-r--r--tests/json-loader.c1
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);
}
}