ckdb - initialise the merketree string (json array)
This commit is contained in:
parent
5d8e60c9d5
commit
88461a5db6
@ -4844,6 +4844,7 @@ static enum cmd_values breakdown(char *buf, int *which_cmds, char *cmd, char *id
|
||||
if (!(DATA_TRANSFER(item)->data))
|
||||
quithere(1, "malloc data (%d) OOM", (int)len);
|
||||
off = 0;
|
||||
DATA_TRANSFER(item)->data[0] = '\0';
|
||||
for (i = 0; i < count; i++) {
|
||||
json_element = json_array_get(json_value, i);
|
||||
if (json_is_string(json_element)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user