aboutsummaryrefslogtreecommitdiff
path: root/replay/replay-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'replay/replay-input.c')
-rw-r--r--replay/replay-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/replay/replay-input.c b/replay/replay-input.c
index 7b6fa93b8d..9cbb4c19e9 100644
--- a/replay/replay-input.c
+++ b/replay/replay-input.c
@@ -31,7 +31,7 @@ static InputEvent *qapi_clone_InputEvent(InputEvent *src)
ov = qmp_output_get_visitor(qov);
visit_type_InputEvent(ov, NULL, &src, &error_abort);
obj = qmp_output_get_qobject(qov);
- qmp_output_visitor_cleanup(qov);
+ visit_free(ov);
if (!obj) {
return NULL;
}