<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software SolutionsのトピックDoes _msg_free() actually free the memory?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Does-msg-free-actually-free-the-memory/m-p/168917#M1770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a question regarding the _msg_free() api:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a situation where I've to do a malloc() of the message that I want to post on a message queue. My question is whether this memory is actually freed when I call the _msg_free() API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sfarhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 19:59:04 GMT</pubDate>
    <dc:creator>sfarhan</dc:creator>
    <dc:date>2010-01-20T19:59:04Z</dc:date>
    <item>
      <title>Does _msg_free() actually free the memory?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Does-msg-free-actually-free-the-memory/m-p/168917#M1770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a question regarding the _msg_free() api:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a situation where I've to do a malloc() of the message that I want to post on a message queue. My question is whether this memory is actually freed when I call the _msg_free() API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sfarhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 19:59:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Does-msg-free-actually-free-the-memory/m-p/168917#M1770</guid>
      <dc:creator>sfarhan</dc:creator>
      <dc:date>2010-01-20T19:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: Does _msg_free() actually free the memory?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Does-msg-free-actually-free-the-memory/m-p/168918#M1771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You can't malloc a message. You must create a message pool, then allocate a message from the messag pool. _msg_free returns the message to the message pool.&amp;nbsp; Read section 3.7.7.3 of the MQX users manual, it is explained there.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 20:26:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Does-msg-free-actually-free-the-memory/m-p/168918#M1771</guid>
      <dc:creator>EAI</dc:creator>
      <dc:date>2010-01-20T20:26:32Z</dc:date>
    </item>
  </channel>
</rss>

