projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mem_calloc -> p_new
[apps/madmutt.git]
/
keymap.c
diff --git
a/keymap.c
b/keymap.c
index
d28ca0f
..
a879852
100644
(file)
--- a/
keymap.c
+++ b/
keymap.c
@@
-99,7
+99,7
@@
static struct keymap_t *allocKeys(int len, keycode_t *keys)
{
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;