openocd/src/flash
Tarek BOCHKATI c281c64469 flash/stm32l4x: free write_algorithm work area if no space left for the buffer
If the remaining memory for the buffer is less than 256 bytes,
the memory allocated for the write algorithm in the target is not freed.

Fixes: ba131f30a0 (Flash driver for STM32G0xx and STM32G4xx)
Change-Id: Ic649f6c39799d76725b0c69ff3a009a3f510e17f
Signed-off-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6486
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
2021-08-30 07:52:26 +00:00
..
nand openocd: fix Yoda conditions with checkpatch 2021-07-24 10:38:31 +01:00
nor flash/stm32l4x: free write_algorithm work area if no space left for the buffer 2021-08-30 07:52:26 +00:00
common.c openocd: fix simple cases of NULL comparison 2021-07-24 10:37:49 +01:00
common.h Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
Makefile.am mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
startup.tcl flash/stm32l4x: add support of STM32U57x/U58x 2021-08-30 07:51:52 +00:00