aboutsummaryrefslogtreecommitdiff
path: root/tests/check-block-qdict.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-block-qdict.c')
-rw-r--r--tests/check-block-qdict.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check-block-qdict.c b/tests/check-block-qdict.c
index 478807f839..73d3e9f574 100644
--- a/tests/check-block-qdict.c
+++ b/tests/check-block-qdict.c
@@ -491,6 +491,7 @@ static void qdict_crumple_test_recursive(void)
empty_list_0 = qobject_to(QDict, qlist_pop(empty_list));
g_assert(empty_list_0);
g_assert_cmpint(qdict_size(empty_list_0), ==, 0);
+ qobject_unref(empty_list_0);
qobject_unref(src);
qobject_unref(dst);