pe*alloc
[m6w6/ext-psi] / src / types / set_exp.c
index ef4173af01e2f8d4084daa3fe321bd36b767095d..aea0747da69b58525ec6b6b354525a7bdd13f1e7 100644 (file)
@@ -33,7 +33,7 @@
 
 struct psi_set_exp *psi_set_exp_init(enum psi_set_exp_kind kind, void *data)
 {
-       struct psi_set_exp *val = calloc(1, sizeof(*val));
+       struct psi_set_exp *val = pecalloc(1, sizeof(*val), 1);
 
        switch (val->kind = kind) {
        case PSI_SET_FUNC: