From ced9c7e14d1c75daa1f7ecc485e091fb32f37cf9 Mon Sep 17 00:00:00 2001 From: chris mikkelson Date: Fri, 12 Mar 2010 22:40:25 -0600 Subject: [PATCH] Initialize "hdralloc" field of message_state structure. --- message.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/message.c b/message.c index 4b66878..fc4258c 100644 --- a/message.c +++ b/message.c @@ -98,8 +98,10 @@ message_start(msgproc *m) if (!ms->header) { free(ms); ms = 0; + } else { + ms->type = text_module; + ms->hdralloc = HDRALLOC; } - ms->type = text_module; } msgproc_setpriv(m, (void*)ms); } -- 2.50.1