- if (tnfa->num_tags > 0 && nmatch > 0)
- {
-#ifdef TRE_USE_ALLOCA
- tags = alloca(sizeof(*tags) * tnfa->num_tags);
-#else /* !TRE_USE_ALLOCA */
- tags = xmalloc(sizeof(*tags) * tnfa->num_tags);
-#endif /* !TRE_USE_ALLOCA */
- if (tags == NULL)
- return REG_ESPACE;
- }