Coverity: test_qemu: Ensure FILE * is not leaked along error paths.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 23 Aug 2011 17:02:24 +0000 (18:02 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 23 Aug 2011 17:03:23 +0000 (18:03 +0100)
commit08e77ad8cb4e8ac70d4217ebd5d236eba81645b5
tree86f26da625c4d02c057b6e3a489488e801f18f13
parentfa44536b0ff12102c72ae0337e51d272f0fc2353
Coverity: test_qemu: Ensure FILE * is not leaked along error paths.

This refactors the code in test_qemu slightly to ensure that
FILE *fp is not leaked on error paths.
src/launch.c