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:
1ae7fbe
)
explicitly null out interface list
author
Matthias Kramm
<kramm@quiss.org>
Tue, 3 Feb 2009 18:51:14 +0000
(19:51 +0100)
committer
Matthias Kramm
<kramm@quiss.org>
Tue, 3 Feb 2009 18:51:14 +0000
(19:51 +0100)
lib/as3/registry.c
patch
|
blob
|
history
diff --git
a/lib/as3/registry.c
b/lib/as3/registry.c
index
c65bcf5
..
069f923
100644
(file)
--- a/
lib/as3/registry.c
+++ b/
lib/as3/registry.c
@@
-103,7
+103,7
@@
classinfo_t* registry_getclassclass(classinfo_t*a) {
return c;
}
- NEW(classinfo_t,c);
+ classinfo_t*c = rfx_calloc(sizeof(classinfo_t)+sizeof(classinfo_t*));
c->access = ACCESS_PUBLIC;
c->package = "";
c->name = "Class";
@@
-234,7
+234,7
@@
classinfo_t* memberinfo_asclass(memberinfo_t*f) {
return c;
}
- NEW(classinfo_t,c);
+ classinfo_t*c = rfx_calloc(sizeof(classinfo_t)+sizeof(classinfo_t*));
c->access = ACCESS_PUBLIC;
c->package = "";
c->name = "Function";