#include "mapping.h"
#include "mutt_crypt.h"
-#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
{
struct keymap_t *p;
- p = mem_calloc (1, sizeof (struct keymap_t));
+ p = p_new(struct keymap_t, 1);
p->len = len;
p->keys = p_dup(keys, len);
return p;