[Bug 753539] mts: fix memory leak for files with embedded subtitles

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 13 06:57:29 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753539

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #309187|none                        |committed
             status|                            |

--- Comment #7 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 309187
  --> https://bugzilla.gnome.org/attachment.cgi?id=309187
fix buffer leak

Pushed with two minor changes (no need to init 'remaining' variable; use
explicit cast when assigning pointer diff result to integer to avoid possible
compiler warnings).

commit 6fb346717be1eb8b7d44b340eb418f1536365888
Author: Vineeth TM <vineeth.tm at samsung.com>
Date:   Thu Aug 13 10:31:20 2015 +0900

    spu-pgs: fix buffer and event leak

    When playing mts files with embedded subtitles, the buffer is mapped,
    but not unmapped at the end resulting in a memory leak.

    Also unref event in handle_dvd_event as it takes ownership of the event.

    https://bugzilla.gnome.org/show_bug.cgi?id=753539

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