git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed a mem leak
[swftools.git]
/
lib
/
modules
/
swftools.c
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);
}
}
}