aboutsummaryrefslogtreecommitdiff
path: root/migration/qjson.c
diff options
context:
space:
mode:
Diffstat (limited to 'migration/qjson.c')
-rw-r--r--migration/qjson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/qjson.c b/migration/qjson.c
index 9d7f6eb9eb..e9889bdcb0 100644
--- a/migration/qjson.c
+++ b/migration/qjson.c
@@ -109,6 +109,6 @@ void qjson_finish(QJSON *json)
void qjson_destroy(QJSON *json)
{
- QDECREF(json->str);
+ qobject_unref(json->str);
g_free(json);
}