Discussion:
[Bug 785388] New: Memory leak in dvdreadsrc.c
"GStreamer" (GNOME Bugzilla)
2017-07-25 08:09:49 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785388

Bug ID: 785388
Summary: Memory leak in dvdreadsrc.c
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-ugly
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@samsung.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---

Created attachment 356339
--> https://bugzilla.gnome.org/attachment.cgi?id=356339&action=edit
Patch file is attached.

Hello All,

There is memory leak in dvdreadsrc.c file

Path : gst-plugins-ugly/ext/dvdread/dvdreadsrc.c

Function: gst_dvd_read_src_goto_title
Memory leak is detected at line : 562.

t = g_strdup_printf ("subpicture-%d-stream", i);
without using g_free(t) there is another g_strdup_printf. which leads to memory
leak.


++patch is attched for possible solution.

Kindly review the patch and provide your feedback.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-25 08:24:03 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785388

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #356339|none |committed
status| |
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-25 08:24:00 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785388

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |***@coaxion.net
Resolution|--- |FIXED

--- Comment #1 from Sebastian Dröge (slomo) <***@coaxion.net> ---
commit 861cff5da13614f50636681d9039a731e279b695 (HEAD -> master)
Author: Satya Prakash Gupta <***@samsung.com>
Date: Tue Jul 25 13:36:17 2017 +0530

dvdreadsrc: Fix string memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=785388
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-25 08:24:34 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785388

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|git master |1.13.1
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2017-07-25 08:49:42 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=785388

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|1.13.1 |1.12.3
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...