projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407ba08
)
hmp: fix memory leak at hmp_info_block_jobs()
author
Gonglei
<arei.gonglei@huawei.com>
Tue, 16 Sep 2014 13:36:55 +0000
(21:36 +0800)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:31 +0000
(11:39 +0100)
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id:
1410874615
-14292-1-git-send-email-arei.gonglei@huawei.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hmp.c
patch
|
blob
|
history
diff --git
a/hmp.c
b/hmp.c
index 40a90dae707c244fda8e81ff781da30019237117..31fb6a15caf11afa911eac9dfd3139712908f0b5 100644
(file)
--- a/
hmp.c
+++ b/
hmp.c
@@
-679,6
+679,8
@@
void hmp_info_block_jobs(Monitor *mon, const QDict *qdict)
}
list = list->next;
}
+
+ qapi_free_BlockJobInfoList(list);
}
void hmp_info_tpm(Monitor *mon, const QDict *qdict)