Make svg-flatten always clean up its temporary files
This commit is contained in:
parent
88faecbdc2
commit
79db262858
1 changed files with 2 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue