launch: add a goto label when add_drive error
authorWanlong Gao <gaowanlong@cn.fujitsu.com>
Mon, 9 Jan 2012 07:22:42 +0000 (15:22 +0800)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 9 Jan 2012 10:23:18 +0000 (10:23 +0000)
commit6f6485ec34f29401bbab65dd4275a3b564ed11b3
tree8b268231923caf7ffc9f70c0cde70f8bf6a8e948
parentda13c1c0e6980f4838090be9e775b4d5c35662b7
launch: add a goto label when add_drive error

Code cleanup.
Add a goto label to simplify the code.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
src/launch.c