]> granicus.if.org Git - graphviz/commit
JSON plugin stoj: remove static buffer
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 14 Oct 2022 03:48:17 +0000 (20:48 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 5 Nov 2022 23:25:05 +0000 (16:25 -0700)
commit9fe05a8d8f0283d0a1d5078a9f9a210d48b28c4f
treeed307602fe545346453f7dec55a3229031afa556
parent7f366cf7345a23aa79358eaf15dc7a1f41eb3a4d
JSON plugin stoj: remove static buffer

This removes some dynamic allocation, as well as making this function now thread
safe. Note that the contained call to `latin1ToUTF8` still allocates.
plugin/core/gvrender_core_json.c