summaryrefslogtreecommitdiff
path: root/tests/pvpanic-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pvpanic-test.c')
-rw-r--r--tests/pvpanic-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pvpanic-test.c b/tests/pvpanic-test.c
index 3bfa678667..71ebb5c02c 100644
--- a/tests/pvpanic-test.c
+++ b/tests/pvpanic-test.c
@@ -27,6 +27,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);
}
int main(int argc, char **argv)