summary refs log tree commit diff stats
path: root/include/hw/boards.h
diff options
context:
space:
mode:
authorChen Fan <chen.fan.fnst@cn.fujitsu.com>2014-08-18 14:46:34 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2014-09-02 22:38:16 +0400
commit976620ac4018db142d82cd42bb7774f40290ce7e (patch)
tree2e3a3c21cd37c580b50e98b84cb94059ee1f222a /include/hw/boards.h
parentb0e90181e4d7244a9466447703acdb2cdd7abdaa (diff)
downloadfocaccia-qemu-976620ac4018db142d82cd42bb7774f40290ce7e.tar.gz
focaccia-qemu-976620ac4018db142d82cd42bb7774f40290ce7e.zip
qom/object.c, hmp.c: fix string_output_get_string() memory leak
string_output_get_string() uses g_string_free(str, false) to
transfer the 'str' pointer to callers and never free it.

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Hu Tao <hutao@cn.fujitsu.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/hw/boards.h')
0 files changed, 0 insertions, 0 deletions