X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Ftypes%2Fimpl_type.c;h=be173aa9b1b646a437f0de820621c75b5cca5d95;hp=3517727a249b38f179e06d54d5990553b6a51c58;hb=216e7ac3b97aed5a5d65c511dc061c78be90e79d;hpb=2fa436074ca9a5e87f39b696de832fa2188fcfc6 diff --git a/src/types/impl_type.c b/src/types/impl_type.c index 3517727..be173aa 100644 --- a/src/types/impl_type.c +++ b/src/types/impl_type.c @@ -28,7 +28,7 @@ struct psi_impl_type *psi_impl_type_init(token_t type, zend_string *name) { - struct psi_impl_type *t = calloc(1, sizeof(*t)); + struct psi_impl_type *t = pecalloc(1, sizeof(*t), 1); t->type = type; t->name = zend_string_copy(name);