aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_platform.c
diff options
context:
space:
mode:
authordunrong huang <riegamaths@gmail.com>2012-05-18 19:14:13 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-21 15:40:51 -0500
commita340046614644a8958883954b96e92a87a5e78f7 (patch)
treeab9691eacc335fc49a8abfc056ec4f53af8576ef /hw/xen_platform.c
parent2a633c461e96cb9a856292c46917653bd43959c8 (diff)
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