X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=history.c;fp=history.c;h=29766337dd69631534eab1c5df0ea0156121e813;hp=66559c05ad9749f8fb607439a501be8cf3d2db71;hb=8e037c67a88cb4680c4391134c578e3b55a80f8a;hpb=c25bc063f35aaad6938c2022dae7a283346c2769 diff --git a/history.c b/history.c index 66559c0..2976633 100644 --- a/history.c +++ b/history.c @@ -11,6 +11,8 @@ # include "config.h" #endif +#include + #include "mutt.h" #include "history.h" #include "lib/mem.h" @@ -33,8 +35,8 @@ static void init_history (struct history *h) if (OldSize) { if (h->hist) { for (i = 0; i < OldSize; i++) - mem_free (&h->hist[i]); - mem_free (&h->hist); + p_delete(&h->hist[i]); + p_delete(&h->hist); } }