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 (from parent 1:
7d65cab
)
fixed bug in gfxfontlist_free
author
kramm
<kramm>
Fri, 9 Nov 2007 10:24:12 +0000
(10:24 +0000)
committer
kramm
<kramm>
Fri, 9 Nov 2007 10:24:12 +0000
(10:24 +0000)
lib/gfxtools.c
patch
|
blob
|
history
diff --git
a/lib/gfxtools.c
b/lib/gfxtools.c
index
f34bcf4
..
06930ec
100644
(file)
--- a/
lib/gfxtools.c
+++ b/
lib/gfxtools.c
@@
-778,7
+778,7
@@
void gfxfontlist_free(gfxfontlist_t*list, char deletefonts)
{
gfxfontlist_t*l = list;
while(l) {
{
gfxfontlist_t*l = list;
while(l) {
- gfxfontlist_t*next = l;
+ gfxfontlist_t*next = l->next;
memset(l, 0, sizeof(*l));
if(l->font) {
gfxfont_free(l->font);
memset(l, 0, sizeof(*l));
if(l->font) {
gfxfont_free(l->font);