[gstreamer-bugs] [Bug 529283] New: [ofa] Unit test leaks tag string

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 21 14:36:43 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=529283

  GStreamer | gst-plugins-bad | Ver: HEAD CVS
           Summary: [ofa] Unit test leaks tag string
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
the ofa unit test currently leaks the tag strings:

Running suite(s): OFA
==17111== 
==17111== 757 bytes in 1 blocks are definitely lost in loss record 3,928 of
3,980
==17111==    at 0x4022AB8: malloc (vg_replace_malloc.c:207)
==17111==    by 0x42D171C: g_malloc (gmem.c:131)
==17111==    by 0x42E9F08: g_strdup (gstrfuncs.c:92)
==17111==    by 0x409C43A: gst_tag_list_get_string (gsttaglist.c:1378)
==17111==    by 0x804A81E: bus_handler (ofa.c:53)
==17111==    by 0x405F288: gst_bus_source_dispatch (gstbus.c:779)
==17111==    by 0x42C9977: g_main_context_dispatch (gmain.c:2009)
==17111==    by 0x42CCBCD: g_main_context_iterate (gmain.c:2642)
==17111==    by 0x42CCF56: g_main_loop_run (gmain.c:2850)
==17111==    by 0x804A6CD: test_ofa_le_1ch (ofa.c:130)
==17111==    by 0x402FF5F: srunner_run_all (in
/home/slomo/projects/gstreamer/head/gstreamer/libs/gst/check/.libs/libgstcheck-0.10.so.0.16.0)
==17111==    by 0x804AB28: main (ofa.c:387)
==17141== 


Attached patch fixes this.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529283.




More information about the Gstreamer-bugs mailing list