From: Paul Fertser Date: Wed, 11 Feb 2015 08:02:34 +0000 (+0300) Subject: target/cortex_m: do not leak memory on reexamination X-Git-Tag: v0.9.0-rc1~87 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=11b6ab90fb59bb2f794bbf7ca4cb89964ead6280;hp=11b6ab90fb59bb2f794bbf7ca4cb89964ead6280 target/cortex_m: do not leak memory on reexamination This bug was exposed by Valgrind. Change-Id: If50878664d928c0a44e309ca1452089c1ac71466 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2542 Tested-by: jenkins Reviewed-by: Stian Skjelstad Reviewed-by: Spencer Oliver ---