initialize new struct msg_digest
This commit is contained in:
@@ -971,7 +971,10 @@ malloc_md(void)
|
|||||||
static const struct msg_digest blank_md;
|
static const struct msg_digest blank_md;
|
||||||
|
|
||||||
if (md == NULL)
|
if (md == NULL)
|
||||||
|
{
|
||||||
md = malloc_thing(struct msg_digest);
|
md = malloc_thing(struct msg_digest);
|
||||||
|
zero(md);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
md_pool = md->next;
|
md_pool = md->next;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user