Set marks to NULL after freeing
realloc() was being called on an already freed pointer. Fixes #2900
This commit is contained in:
parent
f26b00cb67
commit
b48cbe42af
|
@ -157,6 +157,7 @@ static int json_end_map(void *ctx) {
|
|||
}
|
||||
|
||||
free(marks);
|
||||
marks = NULL;
|
||||
num_marks = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue