diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-15 10:41:03 +0200 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-08-08 00:00:24 +0400 |
| commit | df37dd6ffe49dc0da919c5034fb89e1f85e3c98f (patch) | |
| tree | 60c04a69a226d191a79a9a0448720ce14b3c0507 | |
| parent | 9d324b0e67c2b570df389c1361f591b95a4e4278 (diff) | |
| download | focaccia-qemu-df37dd6ffe49dc0da919c5034fb89e1f85e3c98f.tar.gz focaccia-qemu-df37dd6ffe49dc0da919c5034fb89e1f85e3c98f.zip | |
qjson: free str
Release the qstring allocated in qjson_new(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
| -rw-r--r-- | migration/qjson.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/migration/qjson.c b/migration/qjson.c index 5cae55af07..f345904919 100644 --- a/migration/qjson.c +++ b/migration/qjson.c @@ -109,5 +109,6 @@ void qjson_finish(QJSON *json) void qjson_destroy(QJSON *json) { + QDECREF(json->str); g_free(json); } |