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:
2c71985
)
fixed mem leak
author
Matthias Kramm
<kramm@quiss.org>
Fri, 5 Mar 2010 19:25:24 +0000
(11:25 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Fri, 5 Mar 2010 19:25:24 +0000
(11:25 -0800)
lib/pdf/BitmapOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/BitmapOutputDev.cc
b/lib/pdf/BitmapOutputDev.cc
index
bfafe9d
..
1abd91f
100644
(file)
--- a/
lib/pdf/BitmapOutputDev.cc
+++ b/
lib/pdf/BitmapOutputDev.cc
@@
-1465,6
+1465,7
@@
void BitmapOutputDev::drawChar(GfxState *state, double x, double y,
if(xx>=x2) x2=(int)xx+1;
if(yy>=y2) y2=(int)yy+1;
}
+ delete(path);path=0;
/* if this character is affected somehow by the various clippings (i.e., it looks
different on a device without clipping), then draw it on the bitmap, not as