diff options
| author | Markus Armbruster | 2014-05-07 09:53:53 +0200 |
|---|---|---|
| committer | Luiz Capitulino | 2014-05-15 20:00:46 +0200 |
| commit | cdaec3808e756fee3c4e17d0168ec6429eff0dbc (patch) | |
| tree | 718af89969e579d18befe4b4c906f3ff9385176a /scripts | |
| parent | hw: Don't call visit_end_struct() after visit_start_struct() fails (diff) | |
| download | qemu-cdaec3808e756fee3c4e17d0168ec6429eff0dbc.tar.gz qemu-cdaec3808e756fee3c4e17d0168ec6429eff0dbc.tar.xz qemu-cdaec3808e756fee3c4e17d0168ec6429eff0dbc.zip | |
tests: Don't call visit_end_struct() after visit_start_struct() fails
When visit_start_struct() fails, visit_end_struct() must not be
called. Three out of four visit_type_TestStruct() call it anyway. As
far as I can tell, visit_start_struct() doesn't actually fail there.
Fix them anyway.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
