[gstreamer-bugs] [Bug 322704] New: oggdemux typefind list leak

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 28 15:43:32 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=322704
 GStreamer | gst-plugins-base | Ver: HEAD CVS

           Summary: oggdemux typefind list leak
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alessandro at nnva.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: all-bugs at bugzilla.gnome.org


Please describe the problem:
in gstoggdemux.c (gst_ogg_type_find) the return value of
gst_type_find_factory_get_list is not free'd.

Here's the valgrind log:

==25221== 29228 (12 direct, 29216 indirect) bytes in 1 blocks are definitely
lost in loss record 3352 of 3724
==25221==    at 0x1B900B78: calloc (vg_replace_malloc.c:279)
==25221==    by 0x1BAAA60D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.900.0)
==25221==    by 0x1BAAB16E: g_slice_alloc0 (in /usr/lib/libglib-2.0.so.0.900.0)
==25221==    by 0x1BAA1CBE: g_list_prepend (in /usr/lib/libglib-2.0.so.0.900.0)
==25221==    by 0x1B933F1A: gst_filter_run (gstfilter.c:73)
==25221==    by 0x1B950E89: gst_registry_feature_filter (gstregistry.c:460)
==25221==    by 0x1B9510C5: gst_registry_get_feature_list (gstregistry.c:548)
==25221==    by 0x1B95F196: gst_type_find_factory_get_list
(gsttypefindfactory.c:172)
==25221==    by 0x1C1B2CB2: gst_ogg_type_find (gstoggdemux.c:2843)
==25221==    by 0x1C1AC5A0: gst_ogg_pad_typefind (gstoggdemux.c:785)
==25221==    by 0x1C1ACE67: gst_ogg_pad_submit_packet (gstoggdemux.c:969)
==25221==    by 0x1C1AD5E1: gst_ogg_pad_submit_page (gstoggdemux.c:1081)


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:

------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list