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
/
return_exp.c
diff --git
a/src/types/return_exp.c
b/src/types/return_exp.c
index 375f096982568e151fe0b744a9c0ed7df84905fa..d66c55cca751b2ee007dd076fab2b0b040087329 100644
(file)
--- a/
src/types/return_exp.c
+++ b/
src/types/return_exp.c
@@
-30,7
+30,7
@@
struct psi_return_exp *psi_return_exp_init(struct psi_decl_var *func,
struct psi_plist *args, struct psi_set_exp *set)
{
struct psi_return_exp *psi_return_exp_init(struct psi_decl_var *func,
struct psi_plist *args, struct psi_set_exp *set)
{
- struct psi_return_exp *exp =
calloc(1, sizeof(*exp)
);
+ struct psi_return_exp *exp =
pecalloc(1, sizeof(*exp), 1
);
exp->func = func;
exp->args = args;
exp->func = func;
exp->args = args;