#include "mutt_crypt.h"
-#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
#include "lib/debug.h"
for (; l; l = l->next) {
/* If this pattern needs more matches, expand pmatch. */
if (l->nmatch > nmatch) {
- mem_realloc (&pmatch, l->nmatch * sizeof (regmatch_t));
+ p_realloc(&pmatch, l->nmatch);
nmatch = l->nmatch;
}