startup: fix bugs in cleanup upon errors during startup
commit1b9e80f7e6359d59b68a7741c046722bb235a311
authorØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 31 Mar 2011 11:32:28 +0000 (31 13:32 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Thu, 31 Mar 2011 21:46:56 +0000 (31 23:46 +0200)
treef9ae4c2d68a05812e833f282e24f5905d1852a54
parent0c1ebf2673ef02c5fef7677cbf09d4ad4fa3c533
startup: fix bugs in cleanup upon errors during startup

Importantly adapter cleanup will now happen upon startup failure.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/openocd.c