From 79db2628583f7423d89a9e1892867106c8bf7a9a Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 6 Feb 2021 19:24:45 +0100 Subject: Make svg-flatten always clean up its temporary files --- svg-flatten/src/main.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/svg-flatten/src/main.cpp b/svg-flatten/src/main.cpp index d96785b..e120a9c 100644 --- a/svg-flatten/src/main.cpp +++ b/svg-flatten/src/main.cpp @@ -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; -- cgit