* comments from upstream repo with CVE-2024-25713:
* If you have already called yyjson_doc_free() on a doc, the doc and its internal values are invalid.
* Any further operation on the doc or its values is undefined behavior.
*
* While this is not a bug in yyjson itself, a defensive patch has been provided:
* 0eca326fe5
* If you mistakenly call yyjson_doc_free() twice on the same doc against the documentation,
* this patch will cause your program to crash immediately, alerting you to the incorrect usage.