git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
made pdf2pdf clean up its tempfiles
[swftools.git]
/
lib
/
devices
/
pdf.c
diff --git
a/lib/devices/pdf.c
b/lib/devices/pdf.c
index
9e6365b
..
aebc1bf
100644
(file)
--- a/
lib/devices/pdf.c
+++ b/
lib/devices/pdf.c
@@
-267,6
+267,7
@@
typedef struct pdfresult_internal {
void pdfresult_destroy(gfxresult_t*gfx)
{
pdfresult_internal_t*i = (pdfresult_internal_t*)gfx->internal;
+ unlink(i->tempfile);
free(i->tempfile);
free(gfx->internal);gfx->internal = 0;
free(gfx);