diff options
author | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-09-07 17:50:02 +0000 |
---|---|---|
committer | drath <drath@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2006-09-07 17:50:02 +0000 |
commit | 50141aebfbe7272c62dfe026bf7f228171077a3e (patch) | |
tree | 4ab586a30f8218784df54edc4f04f72b645a4506 | |
parent | 3f74f764c7c7b9e22906d2885666d844768c4351 (diff) | |
download | openocd_libswd-50141aebfbe7272c62dfe026bf7f228171077a3e.tar.gz openocd_libswd-50141aebfbe7272c62dfe026bf7f228171077a3e.tar.bz2 openocd_libswd-50141aebfbe7272c62dfe026bf7f228171077a3e.tar.xz openocd_libswd-50141aebfbe7272c62dfe026bf7f228171077a3e.zip |
- free working area used to store flash write buffer
git-svn-id: svn://svn.berlios.de/openocd/trunk@96 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/flash/str7x.c | 2 |
1 files changed, 2 insertions, 0 deletions
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]); |