summaryrefslogtreecommitdiff
path: root/src/flash/str7x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/str7x.c')
-rw-r--r--src/flash/str7x.c2
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(&reg_params[0]);
destroy_reg_param(&reg_params[1]);
destroy_reg_param(&reg_params[2]);