<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">Le 8 déc. 2017 6:34 PM, "killerrats" <<a href="mailto:koreysjunkmail@gmail.com">koreysjunkmail@gmail.com</a>> a écrit :<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a class that creates the gstelements for the pipeline. both of the<br>
queues have 1 reference then when I delete the pipeline it says they have<br>
more than 52000 references. I can't seem to gst_object_uref gives me fail. I<br>
have a memory leak problem and wondered if that might be one of the<br>
problems. any ideas?<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Considering you have added your queue element into the pipeline, and that these queue elements had floating reference, those queue are then owned by the pipeline.</div><div dir="auto"><br></div><div dir="auto">As a side effect, reading back the recount after dropping the last reference on the pipeline is a use after free. Hence the results is undefined.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
--<br>
Sent from: <a href="http://gstreamer-devel.966125.n4.nabble.com/" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/</a><br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br></div></div></div>