Statistics
| Branch: | Revision:

root / tests / test-visitor-serialization.c @ e92cfa0d

History | View | Annotate | Download (20.7 kB)

# Date Author Comment
ad7f375d 05/15/2013 03:58 pm Michael Roth

qapi: fix leak in unit tests

qmp_output_get_qobject() increments the qobject's reference count. Since
we currently pass this straight into qobject_to_json() so we can feed
the data into a QMP input visitor, we never actually free the underlying
qobject when qmp_output_visitor_cleanup() is called. This causes leaks...

2bd01ac1 04/05/2013 03:38 pm Stefan Berger

test-visitor-serialization: Fix some memory leaks

This patch fixes some of the memory leaks in test-visitor-serialization but not all of them.

Signed-off-by: Stefan Berger <>
Signed-off-by: Stefan Hajnoczi <>

7b1b5d19 12/19/2012 09:31 am Paolo Bonzini

qapi: move include files to include/qobject/

Signed-off-by: Paolo Bonzini <>

79ee7df8 12/19/2012 09:31 am Paolo Bonzini

qapi: move inclusions of qemu-common.h from headers to .c files

Signed-off-by: Paolo Bonzini <>

2d496105 06/08/2012 05:11 pm Michael Roth

qapi: Unit tests for visitor-based serialization

Currently we test our visitors individually, and seperately for input
vs. output. This is useful for validating internal representations
against the native C types and vice-versa, and other visitor-specific...

0d30b0a2 06/08/2012 05:11 pm Michael Roth

qapi: Add String visitor coverage to serialization unit tests

Signed-off-by: Michael Roth <>
Signed-off-by: Andreas Färber <>