qemu-e2k/qapi
Stefan Weil e36c87667a qapi: Fix memory leak
valgrind report:

==24534== 232 bytes in 2 blocks are definitely lost in loss record 1,245 of 1,601
==24534==    at 0x4824F20: malloc (vg_replace_malloc.c:236)
==24534==    by 0x293C88: malloc_and_trace (vl.c:2281)
==24534==    by 0x489AD99: ??? (in /lib/libglib-2.0.so.0.2400.1)
==24534==    by 0x489B23B: g_malloc0 (in /lib/libglib-2.0.so.0.2400.1)
==24534==    by 0x2B4EFC: opts_visitor_new (opts-visitor.c:376)
==24534==    by 0x29DEA5: net_client_init (net.c:708)
==24534==    by 0x29E6C7: net_init_client (net.c:966)
==24534==    by 0x2C2179: qemu_opts_foreach (qemu-option.c:1114)
==24534==    by 0x29E85B: net_init_clients (net.c:1008)
==24534==    by 0x296F40: main (vl.c:3463)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2012-08-20 11:05:08 -03:00
..
Makefile.objs qapi: introduce OptsVisitor 2012-07-23 11:55:17 +01:00
opts-visitor.c qapi: Fix memory leak 2012-08-20 11:05:08 -03:00
opts-visitor.h qapi: introduce OptsVisitor 2012-07-23 11:55:17 +01:00
qapi-dealloc-visitor.c qapi: dealloc visitor, support freeing of nested lists 2011-10-04 11:00:46 -03:00
qapi-dealloc-visitor.h qapi: add QAPI dealloc visitor 2011-07-21 16:48:13 -03:00
qapi-types-core.h qmp: do not include monitor.h from qapi-types-core.h 2012-06-15 10:41:05 -03:00
qapi-visit-core.c qapi: introduce "size" type 2012-07-23 11:55:17 +01:00
qapi-visit-core.h qapi: introduce "size" type 2012-07-23 11:55:17 +01:00
qapi-visit-impl.h qapi: allow sharing enum implementation across visitors 2012-02-21 10:21:05 +01:00
qmp-core.h qemu-ga: switch to the new error format on the wire 2012-08-13 14:17:53 -03:00
qmp-dispatch.c error: drop error_get_qobject()/error_set_qobject() 2012-08-13 14:17:53 -03:00
qmp-input-visitor.c qapi: QMP input visitor, handle floats parsed as ints 2012-05-14 10:08:39 -03:00
qmp-input-visitor.h qapi: add strict mode to input visitor 2012-03-27 09:15:13 -03:00
qmp-output-visitor.c qapi: fix double free in qmp_output_visitor_cleanup() 2012-03-27 09:11:00 -03:00
qmp-output-visitor.h
qmp-registry.c qapi: add support for command options 2012-05-15 09:15:16 -05:00
string-input-visitor.c qapi: add string-based visitors 2012-02-21 10:21:05 +01:00
string-input-visitor.h qapi: add string-based visitors 2012-02-21 10:21:05 +01:00
string-output-visitor.c qapi: String visitor, use %f representation for floats 2012-06-08 16:11:14 +02:00
string-output-visitor.h qapi: add string-based visitors 2012-02-21 10:21:05 +01:00