[Bug 787398] New: mpeg2dec :Fix Memory leak issue in gstmpeg2dec.c
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Sep 7 08:01:33 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=787398
Bug ID: 787398
Summary: mpeg2dec :Fix Memory leak issue in gstmpeg2dec.c
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-ugly
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: sp.gupta at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 359325
--> https://bugzilla.gnome.org/attachment.cgi?id=359325&action=edit
Patch file is attached.
Hi ,
There is memory leak in gstmpeg2dec.c Below is observation
Function gst_mpeg2dec_crop_buffer Line : 508
There is memory leak in gstmpeg2dec.c file as in case of fail
"gst_video_frame_copy" allocated memory should be unref.
Solution : gst_video_frame_unmap (&output_frame);
++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.
More information about the gstreamer-bugs
mailing list