<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:arun@accosted.net" title="Arun Raghavan <arun@accosted.net>"> <span class="fn">Arun Raghavan</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Possible memory leak in memtrap.c"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95348">bug 95348</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>darwish.07@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Possible memory leak in memtrap.c"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95348#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Possible memory leak in memtrap.c"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95348">bug 95348</a>
              from <span class="vcard"><a class="email" href="mailto:arun@accosted.net" title="Arun Raghavan <arun@accosted.net>"> <span class="fn">Arun Raghavan</span></a>
</span></b>
        <pre>(In reply to Sachin Kumar Chauhan from <a href="show_bug.cgi?id=95348#c0">comment #0</a>)
<span class="quote">> In src\pulsecore\memtrap.c, a pointer aupdate is allocated memory using
> pa_aupdate_new() but pa_aupdate_free() is never called to free the memory.

> Is the alloted memory being leaked ?</span >

This is one-time statically allocated memory and is not freed until the program
exits. That is why you don't see an explicit free.

That said, it might be possible (and even desirable) to not have this code path
executed in the memfd case. CC'ing Ahmed Darwish to see if he has something to
add there.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>