X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=history.c;fp=history.c;h=304c7b9036e4dfb8a763a1ba2d3976a53fe589ff;hp=29766337dd69631534eab1c5df0ea0156121e813;hb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c;hpb=8e037c67a88cb4680c4391134c578e3b55a80f8a diff --git a/history.c b/history.c index 2976633..304c7b9 100644 --- a/history.c +++ b/history.c @@ -41,7 +41,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;