X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=history.c;h=215a0ef793efced669c0d764a0954344d11d27f2;hp=29766337dd69631534eab1c5df0ea0156121e813;hb=9114fccb27d817ba18918a84524e6e8b1998f361;hpb=8e037c67a88cb4680c4391134c578e3b55a80f8a diff --git a/history.c b/history.c index 2976633..215a0ef 100644 --- a/history.c +++ b/history.c @@ -15,7 +15,6 @@ #include "mutt.h" #include "history.h" -#include "lib/mem.h" /* global vars used for the string-history routines */ @@ -41,7 +40,7 @@ static void init_history (struct history *h) } if (HistSize) - h->hist = mem_calloc (HistSize, sizeof (char *)); + h->hist = p_new(char *, HistSize); h->cur = 0; h->last = 0;