X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Freturn_stmt.c;h=0c4df3666c3accf6078659e7dc5e3a1f155b35ab;hb=35060621f2fd5079502543d17942127c1a602f72;hp=8ff646d3d9448eea3f400df7c548ccab3e94283e;hpb=2fa436074ca9a5e87f39b696de832fa2188fcfc6;p=m6w6%2Fext-psi diff --git a/src/types/return_stmt.c b/src/types/return_stmt.c index 8ff646d..0c4df36 100644 --- a/src/types/return_stmt.c +++ b/src/types/return_stmt.c @@ -29,7 +29,7 @@ struct psi_return_stmt *psi_return_stmt_init(struct psi_return_exp *exp) { - struct psi_return_stmt *ret = calloc(1, sizeof(*ret)); + struct psi_return_stmt *ret = pecalloc(1, sizeof(*ret), 1); ret->exp = exp; return ret; }