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:
0e8c813
)
fixed a bad alloc
author
kramm
<kramm>
Tue, 30 Dec 2008 23:01:39 +0000
(23:01 +0000)
committer
kramm
<kramm>
Tue, 30 Dec 2008 23:01:39 +0000
(23:01 +0000)
lib/as3/pool.c
patch
|
blob
|
history
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);
- 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)