This commit is contained in:
2024-09-22 06:24:07 +00:00
committed by GitHub
parent 5aa3870f55
commit a28a5b6767

View File

@@ -254,6 +254,7 @@ int main(int argc, char* argv[]) {
return UGOIRA_OPEN_FILE; return UGOIRA_OPEN_FILE;
} }
fileop::fclose(f); fileop::fclose(f);
buf[size] = 0;
rapidjson::Document d; rapidjson::Document d;
d.Parse(buf); d.Parse(buf);
free(buf); free(buf);