[Bug 789358] New: [Gst-plugins-base] [Memory Leak] Memory not freed in failure case in function gst_playback_utils_get_n_common_capsfeatures
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Oct 23 16:27:19 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=789358
Bug ID: 789358
Summary: [Gst-plugins-base] [Memory Leak] Memory not freed in
failure case in function
gst_playback_utils_get_n_common_capsfeatures
Classification: Platform
Product: GStreamer
Version: 1.12.3
OS: All
Status: NEW
Severity: minor
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kr.ashish at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Possible memory leak is as below:-
File: gstplaybackutils.c : Line No. 83
Function: gst_playback_utils_get_n_common_capsfeatures
...
fact1_tmpl_caps = get_template_caps (fact1, GST_PAD_SRC);
fact2_tmpl_caps = get_template_caps (fact2, GST_PAD_SINK);
if (!fact1_tmpl_caps || !fact2_tmpl_caps) {
GST_ERROR ("Failed to get template caps from decoder or sink");
return 0;
}
...
fact1_tmpl_caps and fact2_tmpl_caps must be freed before returning.
--
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