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:
89548fb
)
remove parameter listing upon cleanup
author
kramm
<kramm>
Sun, 6 Apr 2008 16:50:55 +0000
(16:50 +0000)
committer
kramm
<kramm>
Sun, 6 Apr 2008 16:50:55 +0000
(16:50 +0000)
lib/pdf/pdf.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/pdf.cc
b/lib/pdf/pdf.cc
index
1d56679
..
977aa2b
100644
(file)
--- a/
lib/pdf/pdf.cc
+++ b/
lib/pdf/pdf.cc
@@
-484,6
+484,8
@@
void pdf_destroy(gfxsource_t*src)
parameter_t*p = device_config;
while(p) {
parameter_t*next = p->next;
+ if(p->name) free(p->name);p->name = 0;
+ if(p->value) free(p->value);p->value =0;
p->next = 0;delete p;
p = next;
}