Fix syntax error introduced by 772919 (#138)
This commit is contained in:
parent
de497675ac
commit
9368d7c25c
|
@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
|
||||||
void *state;
|
void *state;
|
||||||
bool ultrajson_correct = ((UJDecode(buffer, p.size(), NULL, &state) == NULL) == false);
|
bool ultrajson_correct = ((UJDecode(buffer, p.size(), NULL, &state) == NULL) == false);
|
||||||
|
|
||||||
auto * tokens = make_unique<jsmntok_t[](p.size());
|
auto tokens = make_unique<jsmntok_t[]>(p.size());
|
||||||
bool jsmn_correct = false;
|
bool jsmn_correct = false;
|
||||||
if(tokens == nullptr) {
|
if(tokens == nullptr) {
|
||||||
printf("Failed to alloc memory for jsmn\n");
|
printf("Failed to alloc memory for jsmn\n");
|
||||||
|
|
Loading…
Reference in New Issue