]> gitweb.michael.orlitzky.com - libsvgtiny.git/commit
src/svgtiny.c: cleanup immediately if sheet append fails
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 20 Oct 2024 15:22:25 +0000 (11:22 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 20 Oct 2024 21:48:50 +0000 (17:48 -0400)
commit7f81e591dc7512c2a4540ae09a95f24b735d5da4
treefb97256bbaf3d84bd546901dd3beb5c1f0b929f7
parent655a5d904279bf6eefa9dd071e4bdba4c395857e
src/svgtiny.c: cleanup immediately if sheet append fails

If we fail to append to current sheet to the css_select_ctx in
svgtiny_parse_style_element(), we should destroy that sheet right
away, before returning an error.
src/svgtiny.c