git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
379a598
)
made pdf2pdf clean up its tempfiles
author
Matthias Kramm
<kramm@quiss.org>
Thu, 4 Feb 2010 03:52:45 +0000
(19:52 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 4 Feb 2010 03:52:45 +0000
(19:52 -0800)
lib/devices/pdf.c
patch
|
blob
|
history
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);