aboutsummaryrefslogtreecommitdiff
path: root/tests/pvpanic-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pvpanic-test.c')
-rw-r--r--tests/pvpanic-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pvpanic-test.c b/tests/pvpanic-test.c
index ebdf32c2e2..7461a7254f 100644
--- a/tests/pvpanic-test.c
+++ b/tests/pvpanic-test.c
@@ -28,7 +28,7 @@ static void test_panic(void)
data = qdict_get_qdict(response, "data");
g_assert(qdict_haskey(data, "action"));
g_assert_cmpstr(qdict_get_str(data, "action"), ==, "pause");
- QDECREF(response);
+ qobject_unref(response);
}
int main(int argc, char **argv)