diff options
Diffstat (limited to 'src/target/xscale.c')
-rw-r--r-- | src/target/xscale.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/target/xscale.c b/src/target/xscale.c index 27cd75c8..30b25cb7 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -3145,6 +3145,7 @@ int xscale_target_command(struct command_context_s *cmd_ctx, char *cmd, char **a int chain_pos; char *variant = NULL; xscale_common_t *xscale = malloc(sizeof(xscale_common_t)); + memset(xscale, 0, sizeof(*xscale)); if (argc < 5) { |