X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=query.c;h=58ece1f703e9dde5c5eec7df185aff8f630da612;hp=ba3a5a49df55d89da2fe38d22907353e2a8a685f;hb=ebad7634114993e2e96fa66fda4b705d05832193;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c diff --git a/query.c b/query.c index ba3a5a4..58ece1f 100644 --- a/query.c +++ b/query.c @@ -19,7 +19,6 @@ #include "mapping.h" #include "sort.h" -#include "lib/mem.h" #include "lib/intl.h" #include "lib/str.h" #include "lib/debug.h" @@ -355,7 +354,7 @@ static void query_menu (char *buf, size_t buflen, QUERY * results, int retbuf) int clear = 0; /* append */ - mem_realloc (&QueryTable, menu->max * sizeof (ENTRY)); + p_realloc(&QueryTable, menu->max); menu->data = QueryTable;