- added patch for new flash functionality like:
flash verify_image and flash erase_address. - added patch for new parport_write_on_exit command. Even this patch will fix some memory leaks. (thanks too oyvind and Spen for these patches) git-svn-id: svn://svn.berlios.de/openocd/trunk@240 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -41,6 +41,7 @@ void init_mem_param(mem_param_t *param, u32 address, u32 size, enum param_direct
|
||||
void destroy_mem_param(mem_param_t *param)
|
||||
{
|
||||
free(param->value);
|
||||
param->value = NULL;
|
||||
}
|
||||
|
||||
void init_reg_param(reg_param_t *param, char *reg_name, u32 size, enum param_direction direction)
|
||||
@@ -54,4 +55,5 @@ void init_reg_param(reg_param_t *param, char *reg_name, u32 size, enum param_dir
|
||||
void destroy_reg_param(reg_param_t *param)
|
||||
{
|
||||
free(param->value);
|
||||
param->value = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user