summaryrefslogtreecommitdiffstats
path: root/enter.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2006-05-18 17:35:29 +0000
committerRocco Rutte <pdmef@gmx.net>2006-05-18 17:35:29 +0000
commit503d12ff6d253b25eaf6a2dc4c24ee54a825bbc3 (patch)
tree042a6eef13e07b7519da4be30337f73412284195 /enter.c
parent5dff0a79b838d056a86fdf092a20fbbb84f649ba (diff)
Avoid safe_free() usage and add security checks
Add checks to check_sec.sh for memory functions. These include a check for use of safe_free() instead of FREE() and a check whether FREE(&...) is used. For the former, __SAFE_FREE_CHECKED__ is to be used, for the latter __FREE_CHECKED__ to avoid messages from check_sec.sh
Diffstat (limited to 'enter.c')
-rw-r--r--enter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enter.c b/enter.c
index bd8ba385..ff86aa02 100644
--- a/enter.c
+++ b/enter.c
@@ -697,7 +697,7 @@ void mutt_free_enter_state (ENTER_STATE **esp)
if (!esp) return;
FREE (&(*esp)->wbuf);
- FREE (esp);
+ FREE (esp); /* __FREE_CHECKED__ */
}
/*