aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/npcm7xx_pwm-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/npcm7xx_pwm-test.c')
-rw-r--r--tests/qtest/npcm7xx_pwm-test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/qtest/npcm7xx_pwm-test.c b/tests/qtest/npcm7xx_pwm-test.c
index c4a5fdc..e320a62 100644
--- a/tests/qtest/npcm7xx_pwm-test.c
+++ b/tests/qtest/npcm7xx_pwm-test.c
@@ -268,6 +268,9 @@ static void mft_qom_set(QTestState *qts, int index, const char *name,
path, name, value);
/* The qom set message returns successfully. */
g_assert_true(qdict_haskey(response, "return"));
+
+ qobject_unref(response);
+ g_free(path);
}
static uint32_t get_pll(uint32_t con)