- 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:
@@ -1200,6 +1200,7 @@ int handle_etm_tracemode_command(struct command_context_s *cmd_ctx, char *cmd, c
|
||||
if (arm7_9->etm_ctx->trace_depth > 0)
|
||||
{
|
||||
free(arm7_9->etm_ctx->trace_data);
|
||||
arm7_9->etm_ctx->trace_data = NULL;
|
||||
}
|
||||
arm7_9->etm_ctx->trace_depth = 0;
|
||||
}
|
||||
@@ -1725,6 +1726,7 @@ int handle_etm_start_command(struct command_context_s *cmd_ctx, char *cmd, char
|
||||
if (arm7_9->etm_ctx->trace_depth > 0)
|
||||
{
|
||||
free(arm7_9->etm_ctx->trace_data);
|
||||
arm7_9->etm_ctx->trace_data = NULL;
|
||||
}
|
||||
arm7_9->etm_ctx->trace_depth = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user