summaryrefslogtreecommitdiffstats
path: root/attach.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 /attach.c
parentcd96c3449e02199afe9cde511f128bb387f5f4d3 (diff)
Replace safe_free calls by the FREE macro.
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/attach.c b/attach.c
index 4e9bf5e6..171929a4 100644
--- a/attach.c
+++ b/attach.c
@@ -156,13 +156,13 @@ int mutt_compose_attachment (BODY *a)
b->parameter = NULL;
}
if (b->description) {
- safe_free ((void **) &a->description);
+ FREE (&a->description);
a->description = b->description;
b->description = NULL;
}
if (b->form_name)
{
- safe_free ((void **) &a->form_name);
+ FREE (&a->form_name);
a->form_name = b->form_name;
b->form_name = NULL;
}
@@ -356,9 +356,9 @@ void mutt_check_lookup_list (BODY *b, char *type, int len)
b->filename, type));
}
if (tmp.subtype)
- safe_free ((void **) &tmp.subtype);
+ FREE (&tmp.subtype);
if (tmp.xtype)
- safe_free ((void **) &tmp.xtype);
+ FREE (&tmp.xtype);
}
}
}