git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added class type
[swftools.git]
/
lib
/
as3
/
pool.c
diff --git
a/lib/as3/pool.c
b/lib/as3/pool.c
index
7305bd9
..
fe30724
100644
(file)
--- a/
lib/as3/pool.c
+++ b/
lib/as3/pool.c
@@
-180,7
+180,7
@@
char* namespace_tostring(namespace_t*ns)
U8 type = ns->access;
access = access2str(type);
char*s = escape_string(ns->name);
U8 type = ns->access;
access = access2str(type);
char*s = escape_string(ns->name);
- char*string = (char*)malloc(strlen(access)+strlen(s)+3);
+ char*string = (char*)malloc(strlen(access)+strlen(s)+7);
if(!s)
sprintf(string, "[%s]NULL", access, s);
else if(!*s)
if(!s)
sprintf(string, "[%s]NULL", access, s);
else if(!*s)