X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=query.c;h=f7a7894facee1a661adb955e94bbf13386a26bfc;hp=ba3a5a49df55d89da2fe38d22907353e2a8a685f;hb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b;hpb=b3cb6ed8d36c550a2e589910ce51bbc8352ff57c diff --git a/query.c b/query.c index ba3a5a4..f7a7894 100644 --- a/query.c +++ b/query.c @@ -12,6 +12,7 @@ #endif #include +#include #include "mutt.h" #include "mutt_menu.h" @@ -19,8 +20,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;