Merge branch 'windows' of https://github.com/sogou/workflow into windows

This commit is contained in:
Xie Han
2023-01-13 18:58:02 +08:00
+1 -1
View File
@@ -525,7 +525,7 @@ static int __parse_json_members(const char *cursor, const char **end,
cursor++;
ret = __json_string_length(cursor);
if (ret < 0)
break;
return ret;
memb = (json_member_t *)malloc(offsetof(json_member_t, name) + ret + 1);
if (!memb)