Memory Leak in GstTee?
Stirling Westrup
swestrup at gmail.com
Tue Oct 14 10:40:29 PDT 2014
Never mind. It seems I jumped to conclusions. Somewhere I seem to be
holding an extra reference to the pad in question...
On Tue, Oct 14, 2014 at 11:34 AM, Stirling Westrup <swestrup at gmail.com>
wrote:
> I'm currently running my program through valgrind, looking for memory
> leaks. Along with all the ones I cause, I seem to have found a leak in
> GstTee as well.
>
> The leak appears to be in gst_tee_init where it has the line:
>
> tee->sinkpad = gst_pad_new_from_static_template (&sinktemplate,
> "sink");
>
> The tee->sinkpad object is never unreferenced, even if the Tee itself is.
>
> --
> Stirling Westrup
> Programmer, Entrepreneur.
> https://www.linkedin.com/e/fpf/77228
> http://www.linkedin.com/in/swestrup
> http://technaut.livejournal.com
> http://sourceforge.net/users/stirlingwestrup
>
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20141014/72cc8faa/attachment.html>
More information about the gstreamer-devel
mailing list