[Bug 722145] New: [PATCH] tsdemux: fix memleak of PCROffsetCurrent

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 13 16:24:05 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722145
  GStreamer | gst-plugins-bad | git

           Summary: [PATCH] tsdemux: fix memleak of PCROffsetCurrent
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: me at andrey-utkin.pp.ua
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=266218)
 View: https://bugzilla.gnome.org/attachment.cgi?id=266218
 Review: https://bugzilla.gnome.org/review?bug=722145&attachment=266218

patch

gst/mpegtsdemux/mpegtspacketizer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gst/mpegtsdemux/mpegtspacketizer.c
b/gst/mpegtsdemux/mpegtspacketizer.c
index 261992a..84e1a64 100644
--- a/gst/mpegtsdemux/mpegtspacketizer.c
+++ b/gst/mpegtsdemux/mpegtspacketizer.c
@@ -100,6 +100,7 @@ flush_observations (MpegTSPacketizer2 * packetizer)
   gint i;

   for (i = 0; i < packetizer->lastobsid; i++) {
+    g_slice_free (PCROffsetCurrent, packetizer->observations[i]->current);
     g_free (packetizer->observations[i]);
     packetizer->observations[i] = NULL;
   }

-- 
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