summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.c b/copy.c
index 7dd41598..a5777c08 100644
--- a/copy.c
+++ b/copy.c
@@ -418,7 +418,7 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix)
/* clearing refs from memory */
for (t = refs; refs; refs = t->next, t = refs)
- safe_free ((void **)&refs);
+ FREE (&refs);
if (fputc ('\n', out) == EOF)
return (-1);