[gst-devel] unref and memleak

Stefan Kost ensonic at hora-obscura.de
Thu Mar 25 13:32:07 CET 2010


vineeth wrote:
> Hi all,
>   I wrote a sample code and was checking the behavior of
> gst_object_unref(); Apparently I had forgotten to unref a pad after
> gst_element_get_static_pad() ;
>   However valgrind did not throw up any warning / error regarding
> memory leak. So does the gstreamer framework take care of this during
> program exit?
everything goes when the program exits. To avoid resources piling up,
you should try to find the correct place for the unref() still.

Stefan

> Thanks,
> Vineeth.
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list