Skip to content
Snippets Groups Projects
Commit 23a07044 authored by oharboe's avatar oharboe
Browse files

irscan now also works correctly in addition to not crashing :-)

git-svn-id: svn://svn.berlios.de/openocd/trunk@1770 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent b7b586ac
Branches
No related tags found
No related merge requests found
......@@ -2889,7 +2889,7 @@ static int handle_irscan_command(struct command_context_s *cmd_ctx, char *cmd, c
}
}
int num_fields= num_fields;
int num_fields = argc / 2;
fields = malloc(sizeof(scan_field_t) * num_fields);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment