]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: add missing svgtiny_cleanup_state_local() on error path
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 19 Oct 2024 21:53:53 +0000 (17:53 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 20 Oct 2024 21:40:25 +0000 (17:40 -0400)
commitb6c049af93f94013073ff1d444e9a3fd7bd61013
treeadebc61f315804368bc8ebd50bfd801aff8ce8f5
parent051ee66c3445a9071db366ed55cfd606cb579ec7
src/svgtiny.c: add missing svgtiny_cleanup_state_local() on error path

There's an error path in svgtiny_parse_svg() that leads to returning
svgtiny_LIBDOM_ERROR early. But unlike all of the other early returns
in that function, this one is missing svgtiny_cleanup_state_local().
We add it.
src/svgtiny.c