X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=thread.c;h=965c897a9ea4532ac060a97ca6a23f0d2d0ee141;hp=f64dc3fddf51e55f120c8b7b40a5030533d86ae4;hb=617e7d83d14e14e6a520a48e75437211b16c8834;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c diff --git a/thread.c b/thread.c index f64dc3f..965c897 100644 --- a/thread.c +++ b/thread.c @@ -17,7 +17,6 @@ #include "sort.h" #include "thread.h" -#include "lib/mem.h" #include "lib/intl.h" #include @@ -581,7 +580,7 @@ THREAD *mutt_sort_subthreads (THREAD * thread, int init) /* put them into the array */ for (i = 0; thread; i++, thread = thread->prev) { if (i >= array_size) - mem_realloc (&array, (array_size *= 2) * sizeof (THREAD *)); + p_realloc(&array, array_size *= 2); array[i] = thread; }