projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
pe*alloc
[m6w6/ext-psi]
/
src
/
types
/
decl_struct.c
diff --git
a/src/types/decl_struct.c
b/src/types/decl_struct.c
index c2b8cc1779806b8582d150dcc30e87d11a2cf1a7..14076c6b296d7cd8a72f5e001ddff4ab30ca6cd2 100644
(file)
--- a/
src/types/decl_struct.c
+++ b/
src/types/decl_struct.c
@@
-31,7
+31,7
@@
struct psi_decl_struct* psi_decl_struct_init(zend_string *name,
struct psi_plist *args)
{
struct psi_decl_struct* psi_decl_struct_init(zend_string *name,
struct psi_plist *args)
{
- struct psi_decl_struct *s =
calloc(1, sizeof(*s)
);
+ struct psi_decl_struct *s =
pecalloc(1, sizeof(*s), 1
);
s->name = zend_string_copy(name);
s->args = args;
return s;
s->name = zend_string_copy(name);
s->args = args;
return s;