diff options
| author | dunrong huang <riegamaths@gmail.com> | 2012-05-18 19:14:13 +0800 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-05-21 15:40:51 -0500 |
| commit | a340046614644a8958883954b96e92a87a5e78f7 (patch) | |
| tree | ab9691eacc335fc49a8abfc056ec4f53af8576ef /hw/xen_platform.c | |
| parent | 2a633c461e96cb9a856292c46917653bd43959c8 (diff) | |
| download | focaccia-qemu-a340046614644a8958883954b96e92a87a5e78f7.tar.gz focaccia-qemu-a340046614644a8958883954b96e92a87a5e78f7.zip | |
qdev: Fix memory leak
The str allocated in visit_type_str was not freed. The visit_type_str function is an input visitor(<QMP/String/etc>-to-native) here, it will allocate memory for caller, so the caller is responsible for freeing the memory. Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: dunrong huang <riegamaths@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/xen_platform.c')
0 files changed, 0 insertions, 0 deletions