Commit c53fd67e authored by Claes Sjofors's avatar Claes Sjofors

Mh bugfix, event messages was lost

parent 419ec0ad
......@@ -71,6 +71,7 @@ mh_NetSendMessage(
msg.type.s = subtype;
msg.reply = hp->qid;
msg.size = size;
msg.msg_id = 0;
if (recPlatform == NULL || co_IsXdrNeeded(&hp->platform, recPlatform)) {
hp->xdr = TRUE;
......@@ -85,7 +86,6 @@ mh_NetSendMessage(
memcpy(msg.data, hp, size);
}
qcom_Put(&sts, qid, &msg);
if (EVEN(sts))
qcom_Free(&sts2, msg.data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment