summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2002-12-10 20:56:47 +0000
committerThomas Roessler <roessler@does-not-exist.org>2002-12-10 20:56:47 +0000
commitb62866d93e48a510912a1f503d907a2320da9238 (patch)
tree807a4c446cbec93779394a22cbc645430c8c94b1 /color.c
parentcd96c3449e02199afe9cde511f128bb387f5f4d3 (diff)
Replace safe_free calls by the FREE macro.
Diffstat (limited to 'color.c')
-rw-r--r--color.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/color.c b/color.c
index 7a31588d..2265730a 100644
--- a/color.c
+++ b/color.c
@@ -124,8 +124,8 @@ static void mutt_free_color_line(COLOR_LINE **l,
regfree(&tmp->rx);
mutt_pattern_free(&tmp->color_pattern);
- safe_free((void **)&tmp->pattern);
- safe_free((void **)l);
+ FREE (&tmp->pattern);
+ FREE (l);
}
void ci_start_color (void)
@@ -275,7 +275,7 @@ void mutt_free_color (int fg, int bg)
if (p == ColorList)
{
ColorList = ColorList->next;
- safe_free ((void **) &p);
+ FREE (&p);
return;
}
q = ColorList;
@@ -284,7 +284,7 @@ void mutt_free_color (int fg, int bg)
if (q->next == p)
{
q->next = p->next;
- safe_free ((void **) &p);
+ FREE (&p);
return;
}
q = q->next;