Fix double-free crash with unsupported property type

This commit is contained in:
Eric Fischer 2015-07-14 17:11:34 -07:00
parent 9abf09eb7e
commit e01ea076ed

@ -639,7 +639,6 @@ int read_json(int argc, char **argv, char *fname, const char *layername, int max
;
} else {
fprintf(stderr, "%s:%d: Unsupported property type for %s\n", reading, jp->line, properties->keys[i]->string);
json_free(j);
continue;
}
}