json_schema_value_type leaks memory on early return
When the function encounters a key other than "type" and then fails to skip the value (json_skip_value returns false), it returns NULL without freeing the key that was just allocated by json_string. This leaks the key string.