Make svg-flatten always clean up its temporary files

This commit is contained in:
jaseg 2021-02-06 19:24:45 +01:00
parent 88faecbdc2
commit 79db262858

View file

@ -424,10 +424,8 @@ int main(int argc, char **argv) {
doc.render(rset, *top_sink, &sel);
if (!is_svg) {
remove(frob.c_str());
remove(barf.c_str());
}
remove(frob.c_str());
remove(barf.c_str());
if (flattener) {
delete flattener;