<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Fix memory function use



Hi,

the patch at:

  <http://user.cs.tu-berlin.de/~pdmef/mutt/patches/pdmef+fix+mem.diff>

fixes the use of mutt's memory function wrappers, namely safe_free().

First, it replaces some calls by FREE() and adds some checks to check_sec.sh since the first chunk in the diff for muttlib.c looks like it fixes a bug. Thus, the checks can make sense, IMHO. This also may be useful for people (like me) who run mutt with patches to check the patches used and notify the authors.

Note that I only added the checks to check_sec.sh, I didn't add the required comments to the sources affected to make it ignore the warnings. One of the committers should that (but I can do it, too).

  bye, Rocco
--
:wq!