Files
openocd/src/flash/nor
Paul Fertser eaa6d8f839 flash/nor/lpc2000: free allocated working area when target_write fails
In some circumstances (e.g. inappropriate jtag clock)
target_write_memory in lpc2000_iap_working_area_init might fail. The
allocated working area should be freed inside
lpc2000_iap_working_area_init in this error case.

This was leading to a weird segfault due to stack corruption later
when reset was executed.

Reported by quitte (Jonas Meyer).

Change-Id: Ia2ed42a9970a4d771727fd516a6eea88e9b859e2
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2696
Tested-by: jenkins
2015-04-14 12:41:26 +01:00
..
2014-03-17 12:47:18 +00:00
2014-05-05 20:18:38 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2013-07-01 08:39:36 +00:00
2013-10-07 19:28:19 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-10-06 11:57:32 +00:00
2013-06-05 19:52:42 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2013-06-05 19:52:42 +00:00
2015-02-24 15:23:17 +00:00
2014-10-06 11:57:26 +00:00
2014-03-17 12:47:18 +00:00
2013-06-05 19:52:42 +00:00
2014-03-17 12:47:18 +00:00
2015-02-24 14:48:37 +00:00
2014-02-06 22:17:51 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00
2014-03-17 12:47:18 +00:00