]> git.sur5r.net Git - openocd/commit
armv7m: Fix memory leak in register caching.
authorMarc Schink <openocd-dev@marcschink.de>
Tue, 30 Jun 2015 07:40:28 +0000 (09:40 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 30 Sep 2015 21:13:50 +0000 (22:13 +0100)
commitb01b5fe13a67d6ff33b792348c24c5f92a5a8a1b
treed2558ab2735648ba4829e1a4e92a676941af14f8
parent33e406824c5d522703829189bb0f55967b887ec5
armv7m: Fix memory leak in register caching.

Change-Id: I184042d277a52f3940d6d6c13f3d94afc557933d
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
[andreas.fritiofson@gmail.com: don't check pointers before free()]
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/2881
Tested-by: jenkins
src/target/armv7m.c
src/target/armv7m.h
src/target/cortex_m.c