jtag: fix clang ulink memory leaks
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 24 Aug 2012 20:33:35 +0000 (21:33 +0100)
committerFreddie Chopin <freddie.chopin@gmail.com>
Wed, 29 Aug 2012 06:25:19 +0000 (06:25 +0000)
commit09f9596ae0cfb70a6ddceefd144b0e892a984b16
tree886a75e5064326a432cb62567d18008ab843c033
parenta25e61ecd364eae32e45d0903f241bfd62b82782
jtag: fix clang ulink memory leaks

Memory leaks discovered by clang 3.1

Change-Id: I8a784ba9726deac508424eddb27e9c8409e2773f
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/795
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
src/jtag/drivers/ulink.c