Tests: QEMUSizedBuffer/QEMUBuffer
commit8580b06498a5dffe554e7ac627726b1d7775c591
authorYang Hongyang <yanghy@cn.fujitsu.com>
Fri, 19 Dec 2014 03:38:06 +0000 (19 11:38 +0800)
committerAmit Shah <amit.shah@redhat.com>
Fri, 16 Jan 2015 07:36:17 +0000 (16 13:06 +0530)
treee64f30ae100d0dec1e94a6826ea9a65fd986e0c4
parentf018d8cd2123f495300935d5019931abbee4e5d9
Tests: QEMUSizedBuffer/QEMUBuffer

Modify some of tests/test-vmstate.c due to qemu_bufopen() change.
If you create a QEMUSizedBuffer yourself, you have to explicitly
free it.

Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Cc: Juan Quintela <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
tests/test-vmstate.c