aboutsummaryrefslogtreecommitdiff
path: root/migration/qjson.h
diff options
context:
space:
mode:
Diffstat (limited to 'migration/qjson.h')
-rw-r--r--migration/qjson.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/qjson.h b/migration/qjson.h
index 41664f2d71..1786bb5864 100644
--- a/migration/qjson.h
+++ b/migration/qjson.h
@@ -24,4 +24,6 @@ void json_start_object(QJSON *json, const char *name);
const char *qjson_get_str(QJSON *json);
void qjson_finish(QJSON *json);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(QJSON, qjson_destroy)
+
#endif /* QEMU_QJSON_H */