Home
last modified time | relevance | path

Searched hist:"976620 ac" (Results 1 – 1 of 1) sorted by relevance

/qemu/qom/
H A Dobject.c976620ac Mon Aug 18 06:46:34 GMT 2014 Chen Fan <chen.fan.fnst@cn.fujitsu.com> 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>