Who will release the memory of event

Mathieu Duponchelle mathieu at centricular.com
Fri Dec 6 10:50:22 UTC 2019


Without more context, you currently own that event. If you were to pass it through a transfer full
parameter to API such as https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c#gst_element_send_event,
you wouldn't own that event anymore and wouldn't have to unref it (unless you take other references
for some reason).

On 12/6/19 3:52 AM, Seiji I. wrote:
> Hi.
>
> Who will release the memory of “seek” event below?
>
> seek = gst_event_new_seek (...);
>
> It doesn't seem to be released after gst_deinit ().
> It is detected with GST_TRACERS = leaks.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list