projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
interned strings++
[m6w6/ext-psi]
/
src
/
types
/
let_func.c
diff --git
a/src/types/let_func.c
b/src/types/let_func.c
index ea2f371907ef46c973fdafdad429c2417516e1d0..fd8b49f968ed709610a41d156a84453260064137 100644
(file)
--- a/
src/types/let_func.c
+++ b/
src/types/let_func.c
@@
-35,7
+35,7
@@
struct psi_let_func *psi_let_func_init(token_t type, zend_string *name,
struct psi_impl_var *var)
{
struct psi_let_func *psi_let_func_init(token_t type, zend_string *name,
struct psi_impl_var *var)
{
- struct psi_let_func *func =
calloc(1, sizeof(*func)
);
+ struct psi_let_func *func =
pecalloc(1, sizeof(*func), 1
);
func->type = type;
func->name = zend_string_copy(name);
func->var = var;
func->type = type;
func->name = zend_string_copy(name);
func->var = var;