diff options
Diffstat (limited to 'lib/json.c')
| -rw-r--r-- | lib/json.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -508,7 +508,7 @@ whitespace:  				case ']': -					if (top->type == json_array) { +					if (top && top->type == json_array) {  						flags = (flags & ~(flag_need_comma | flag_seek_value)) | flag_next;  					} else {              sprintf(error, "%d:%d: Unexpected ]", cur_line, e_off);  						              goto e_failed; } | 
