p_clear should not be used with sizeof but *countof*
authorPierre Habouzit <madcoder@debian.org>
Thu, 9 Nov 2006 01:43:49 +0000 (02:43 +0100)
committerPierre Habouzit <madcoder@debian.org>
Thu, 9 Nov 2006 01:43:49 +0000 (02:43 +0100)
commit1ffe18af5bf2fda6f7dc86c514b56c6a82ec3040
treeffbf7146891526a89af966df5bb8e7e4b0340d5d
parent9c29247938d64f721db448824a1121ef47ad2869
p_clear should not be used with sizeof but *countof*

the p-clear(Matches) erased too much memory.
thanks valgrind

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
alias.c
init.c
lib-crypt/pgp.c
lib-crypt/smime.c
lib-lib/file.c
main.c