X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mx.c;h=94004833282f40ef66a9c1a18cd7a297a1e7acc1;hp=c68b0ac3d56913156dc1478639f7ba2aea044c35;hb=617e7d83d14e14e6a520a48e75437211b16c8834;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c diff --git a/mx.c b/mx.c index c68b0ac..9400483 100644 --- a/mx.c +++ b/mx.c @@ -53,7 +53,6 @@ #include "mutt_crypt.h" -#include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" #include "lib/list.h" @@ -1310,8 +1309,8 @@ void mx_alloc_memory (CONTEXT * ctx) } if (ctx->hdrs) { - mem_realloc (&ctx->hdrs, sizeof (HEADER *) * (ctx->hdrmax += 25)); - mem_realloc (&ctx->v2r, sizeof (int) * ctx->hdrmax); + p_realloc(&ctx->hdrs, ctx->hdrmax += 25); + p_realloc(&ctx->v2r, ctx->hdrmax); } else { ctx->hdrs = p_new(HEADER *, (ctx->hdrmax += 25));