summaryrefslogtreecommitdiffstats
path: root/src/usr/mbox
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2014-03-11 17:11:36 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-04-02 17:18:32 -0500
commit0c8a1f50840d5533bee2d7c5858595b685e9a40e (patch)
tree022c65bc5a6ac8e47fb202c9592ce3aa512e64bc /src/usr/mbox
parent5f089a9dfd51c9318996a143f436e12b96d025c9 (diff)
downloadtalos-hostboot-0c8a1f50840d5533bee2d7c5858595b685e9a40e.tar.gz
talos-hostboot-0c8a1f50840d5533bee2d7c5858595b685e9a40e.zip
Fix BEAM IPA analysis and errors.
Change-Id: I5b70acbb67581728e077816b822ecbbf6cbe07f6 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9781 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/mbox')
-rw-r--r--src/usr/mbox/mailboxsp.C4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/mbox/mailboxsp.C b/src/usr/mbox/mailboxsp.C
index 28b6f4346..f36d167b3 100644
--- a/src/usr/mbox/mailboxsp.C
+++ b/src/usr/mbox/mailboxsp.C
@@ -904,12 +904,14 @@ void MailboxSp::recv_msg(mbox_msg_t & i_mbox_msg)
invalidMsgResponder(i_mbox_msg);
free(msg->extra_data); // toss this if it exists
msg->extra_data = NULL;
+ i_mbox_msg.msg_payload.extra_data = NULL;
}
msg_free(msg);
}
else // This is a bounce-back msg from the echo server - Ignore
{
free(msg->extra_data);
+ msg->extra_data = NULL;
msg_free(msg);
}
}
@@ -1155,6 +1157,8 @@ errlHndl_t MailboxSp::send(queue_id_t i_q_id,
0, //
true //Add HB Software Callout
);
+
+ msg_free(msg);
}
return err;
OpenPOWER on IntegriCloud