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:
cdeea2c
)
fixed a mem leak
author
Matthias Kramm
<kramm@quiss.org>
Fri, 23 Jan 2009 19:40:06 +0000
(11:40 -0800)
committer
Matthias Kramm
<kramm@quiss.org>
Fri, 23 Jan 2009 19:40:06 +0000
(11:40 -0800)
lib/modules/swftools.c
patch
|
blob
|
history
diff --git
a/lib/modules/swftools.c
b/lib/modules/swftools.c
index
cd57d6f
..
ddc8694
100644
(file)
--- a/
lib/modules/swftools.c
+++ b/
lib/modules/swftools.c
@@
-1025,6
+1025,7
@@
char swf_Relocate (SWF*swf, char*bitmap)
PUT16(&tag->data[ptr[t]], id);
}
}
+ free(ptr);
}
tag=tag->next;
}
@@
-1057,6
+1058,7
@@
void swf_Relocate2(SWF*swf, int*id2id)
PUT16(&tag->data[ptr[t]], id);
}
}
+ free(ptr);
}
}
}