X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=buffy.c;h=ddb0ec72ce7e0d8f69fecb720fa310c9075891b7;hb=8e037c67a88cb4680c4391134c578e3b55a80f8a;hp=b00170b41df4709d08de275e5155545d6dad8334;hpb=c25bc063f35aaad6938c2022dae7a283346c2769;p=apps%2Fmadmutt.git diff --git a/buffy.c b/buffy.c index b00170b..ddb0ec7 100644 --- a/buffy.c +++ b/buffy.c @@ -14,6 +14,8 @@ # include "config.h" #endif +#include + #include "mutt.h" #include "buffy.h" #include "buffer.h" @@ -170,8 +172,8 @@ void buffy_update_mailbox (BUFFY * b) /* func to free buffy for list_del() */ static void buffy_free (BUFFY** p) { - mem_free(&(*p)->path); - mem_free(p); + p_delete(&(*p)->path); + p_delete(p); } int buffy_lookup (const char* path) {