projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
crypt.c
diff --git
a/crypt.c
b/crypt.c
index
2f20bc1
..
9d175d9
100644
(file)
--- a/
crypt.c
+++ b/
crypt.c
@@
-705,7
+705,7
@@
static void crypt_fetch_signatures (BODY *** signatures, BODY * a, int *n)
crypt_fetch_signatures (signatures, a->parts, n);
else {
if ((*n % 5) == 0)
crypt_fetch_signatures (signatures, a->parts, n);
else {
if ((*n % 5) == 0)
-
safe
_realloc (signatures, (*n + 6) * sizeof (BODY **));
+
mem
_realloc (signatures, (*n + 6) * sizeof (BODY **));
(*signatures)[(*n)++] = a;
}
(*signatures)[(*n)++] = a;
}
@@
-825,7
+825,7
@@
void mutt_signed_handler (BODY * a, STATE * s)
state_attach_puts (_("[-- The following data is signed --]\n\n"), s);
state_attach_puts (_("[-- The following data is signed --]\n\n"), s);
-
FREE
(&signatures);
+
mem_free
(&signatures);
}
else
state_attach_puts (_("[-- Warning: Can't find any signatures. --]\n\n"),
}
else
state_attach_puts (_("[-- Warning: Can't find any signatures. --]\n\n"),