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:
35d1f90
)
fixed a mem leak
author
Matthias Kramm
<kramm@quiss.org>
Thu, 22 Jan 2009 00:49:29 +0000
(16:49 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Thu, 22 Jan 2009 00:49:29 +0000
(16:49 -0800)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
189a05c
..
ed10e20
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-182,11
+182,13
@@
static void render2(gfxpage_t*page, gfxdevice_t*dev, int x,int y, int x1,int y1,
pi->doc->processLinks((OutputDev*)outputDev, page->nr);
outputDev->finishPage();
outputDev->setDevice(0);
+ delete outputDev;
if(middev) {
gfxdevice_rescale_setdevice(middev, 0x00000000);
middev->finish(middev);
}
+
}