/* no arena for you! */
#define new_NOARENA(details) \
+ my_safemalloc((details)->size - (details)->offset)
+#define new_NOARENAZ(details) \
my_safecalloc((details)->size - (details)->offset)
#define new_XPVFM() my_safemalloc(sizeof(XPVFM))
Zero(new_body, new_type_details->size, char);
new_body = ((char *)new_body) + new_type_details->offset;
} else {
- new_body = new_NOARENA(new_type_details);
+ new_body = new_NOARENAZ(new_type_details);
}
#else
/* We always allocated the full length item with PURIFY */
- new_body = new_NOARENA(new_type_details);
+ new_body = new_NOARENAZ(new_type_details);
#endif
SvANY(sv) = new_body;
const svtype sv_type = SvTYPE(sstr);
const struct body_details *const sv_type_details
= bodies_by_type + sv_type;
-
switch (sv_type) {
default: