summaryrefslogtreecommitdiffstats
path: root/menu.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 /menu.c
parentcd96c3449e02199afe9cde511f128bb387f5f4d3 (diff)
Replace safe_free calls by the FREE macro.
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/menu.c b/menu.c
index 9c288fad..3e4e65fe 100644
--- a/menu.c
+++ b/menu.c
@@ -683,17 +683,17 @@ void mutt_menuDestroy (MUTTMENU **p)
{
int i;
- safe_free ((void **) &(*p)->searchBuf);
+ FREE (&(*p)->searchBuf);
if ((*p)->dialog)
{
for (i=0; i < (*p)->max; i++)
- safe_free ((void **) &(*p)->dialog[i]);
+ FREE (&(*p)->dialog[i]);
- safe_free ((void **) (*p)->dialog);
+ FREE ((*p)->dialog);
}
- safe_free ((void **) p);
+ FREE (p);
}
#define M_SEARCH_UP 1