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:
2b9a094
)
fixed mem leaks
author
kramm
<kramm>
Fri, 2 Jan 2009 19:47:24 +0000
(19:47 +0000)
committer
kramm
<kramm>
Fri, 2 Jan 2009 19:47:24 +0000
(19:47 +0000)
lib/as3/main.c
patch
|
blob
|
history
diff --git
a/lib/as3/main.c
b/lib/as3/main.c
index
cfc7bbe
..
09e2669
100644
(file)
--- a/
lib/as3/main.c
+++ b/
lib/as3/main.c
@@
-91,6
+91,7
@@
int main(int argn, char*argv[])
swf_SetU16(tag, 1);
swf_SetU16(tag, 0);
swf_SetString(tag, globalclass);
+ free(globalclass);globalclass=0;
} else {
printf("Warning: no global public MovieClip subclass\n");
}
@@
-104,5
+105,7
@@
int main(int argn, char*argv[])
swf_WriteSWF(f,&swf);
close(f);
+ swf_FreeTags(&swf);
+
return 0;
}