[Bug 696606] New: qtdemux memory leak

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 25 19:38:57 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=696606
  GStreamer | gst-plugins-good | 1.0.5

           Summary: qtdemux memory leak
    Classification: Platform
           Product: GStreamer
           Version: 1.0.5
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: zhangyanping210 at yahoo.com.cn
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


At qtdemux.c 

static void
qtdemux_tag_add_blob (GNode * node, GstQTDemux * demux)

line 8680

//-------------------------------
  sample = gst_sample_new (buf, NULL, NULL, s);
  gst_buffer_unref (buf);
  g_free (media_type);

  GST_DEBUG_OBJECT (demux, "adding private tag; size %d, info %"
GST_PTR_FORMAT,
      len, s);

  gst_tag_list_add (demux->tag_list, GST_TAG_MERGE_APPEND,
      GST_QT_DEMUX_PRIVATE_TAG, sample, NULL);

//------------------------------------------

I think the sample should be unref after added to the tag list.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list