pe*alloc
[m6w6/ext-psi] / src / types / cpp_exp.c
index 6f0fff04d74c748e6f1d08c80f7795e226c9d867..89a8f0ebb21007cdde4c3c4534d25f3655ecd030 100644 (file)
@@ -32,7 +32,7 @@
 
 struct psi_cpp_exp *psi_cpp_exp_init(token_t type, void *data)
 {
 
 struct psi_cpp_exp *psi_cpp_exp_init(token_t type, void *data)
 {
-       struct psi_cpp_exp *exp = calloc(1, sizeof(*exp));
+       struct psi_cpp_exp *exp = pecalloc(1, sizeof(*exp), 1);
 
        switch ((exp->type = type)) {
        case PSI_T_WARNING:
 
        switch ((exp->type = type)) {
        case PSI_T_WARNING: