<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] Use RunLoop instead of GMainLoop in AudioFileReaderGStreamer"
   href="https://bugs.webkit.org/show_bug.cgi?id=151256#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer] Use RunLoop instead of GMainLoop in AudioFileReaderGStreamer"
   href="https://bugs.webkit.org/show_bug.cgi?id=151256">bug 151256</a>
              from <span class="vcard"><a class="email" href="mailto:cgarcia&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=151256#c10">comment #10</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=265573&amp;action=diff" name="attach_265573" title="Updated patch">attachment 265573</a> <a href="attachment.cgi?id=265573&amp;action=edit" title="Updated patch">[details]</a></span>
&gt; Updated patch
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=265573&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=265573&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:296
&gt; &gt; +    m_pipeline = gst_pipeline_new(nullptr);
&gt; 
&gt; Should the returned pointer be adopted?</span >

No, it's a floating ref we should consume.

<span class="quote">&gt; &gt; Source/WebCore/platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:312
&gt; &gt; +        gst_message_unref(message);
&gt; 
&gt; This was leaking before, was it not?</span >

No, when using the message signal, gst unrefs the message, when using the sync handler, you must unref it when returning DROP.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>