X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcolor.c;h=a9ee64a705d00c48da6ff743debab27c35e4179c;hp=21b93f48a9b79aa2758be85a796b0812c5938001;hb=8e075eda08c6f099ec6988e16607fb4f6a10ba92;hpb=3de2c85955793f4d6898884915121959ca465d0f diff --git a/lib-ui/color.c b/lib-ui/color.c index 21b93f4..a9ee64a 100644 --- a/lib-ui/color.c +++ b/lib-ui/color.c @@ -11,6 +11,7 @@ #include "curses.h" +#include "pattern.h" #include "mutt.h" /* globals */ @@ -111,7 +112,7 @@ static void mutt_free_color_line (COLOR_LINE ** l, int free_colors) */ regfree (&tmp->rx); - mutt_pattern_free (&tmp->color_pattern); + pattern_list_wipe(&tmp->color_pattern); p_delete(&tmp->pattern); p_delete(l); }