From 50141aebfbe7272c62dfe026bf7f228171077a3e Mon Sep 17 00:00:00 2001 From: drath Date: Thu, 7 Sep 2006 17:50:02 +0000 Subject: - free working area used to store flash write buffer git-svn-id: svn://svn.berlios.de/openocd/trunk@96 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/str7x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/flash/str7x.c b/src/flash/str7x.c index 8dc00d08..81fa9bcf 100644 --- a/src/flash/str7x.c +++ b/src/flash/str7x.c @@ -474,6 +474,8 @@ int str7x_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 cou count -= thisrun_count; } + target_free_working_area(target, source); + destroy_reg_param(®_params[0]); destroy_reg_param(®_params[1]); destroy_reg_param(®_params[2]); -- cgit v1.2.3