projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we don't use strdup in mutt sources anymore, remove that compat file
[apps/madmutt.git]
/
menu.c
diff --git
a/menu.c
b/menu.c
index
d8f2baf
..
1431797
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-24,7
+24,6
@@
#include "imap.h"
#endif
#include "imap.h"
#endif
-#include "lib/mem.h"
#include "lib/intl.h"
#include "lib/str.h"
#include "lib/intl.h"
#include "lib/str.h"
@@
-644,7
+643,7
@@
static int menu_search_generic (MUTTMENU * m, regex_t * re, int n)
MUTTMENU *mutt_new_menu (void)
{
MUTTMENU *mutt_new_menu (void)
{
- MUTTMENU *p =
(MUTTMENU *) mem_calloc (1, sizeof (MUTTMENU)
);
+ MUTTMENU *p =
p_new(MUTTMENU, 1
);
p->current = 0;
p->top = 0;
p->current = 0;
p->top = 0;