jtag/drivers/ftdi.c: removed memory leak
swd_cmd_queue buffer memory leak removed Change-Id: Iafcdf034d32a37d577b58b6256c8fd9b064ce228 Signed-off-by: Mateusz Manowiecki <segmentation@fault.pl> Reviewed-on: http://openocd.zylin.com/2563 Tested-by: jenkins Reviewed-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>__archive__
parent
06707fe159
commit
09ca5af4d0
|
@ -662,6 +662,8 @@ static int ftdi_quit(void)
|
|||
{
|
||||
mpsse_close(mpsse_ctx);
|
||||
|
||||
free(swd_cmd_queue);
|
||||
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue