[Bug 785219] New: MEMORY_LEAK in function gst_harness_element_ref
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Jul 21 10:19:23 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=785219
Bug ID: 785219
Summary: MEMORY_LEAK in function gst_harness_element_ref
Classification: Platform
Product: GStreamer
Version: 1.12.2
OS: All
Status: NEW
Severity: minor
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: kr.ashish at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Dynamic memory referenced by '__p' was allocated at gstharness.c:452 by calling
function 'g_malloc0_n', but not freed if g_object_set_data_full fails due to
unsatisfied expression check.
File:gstharness.c
Line no. 452
data = g_new0 (guint, 1);
*data = 1;
g_object_set_data_full (G_OBJECT (h->element), HARNESS_REF, data, g_free);
File:gobject.c
g_object_set_data_full (GObject *object,
const gchar *key,
gpointer data,
GDestroyNotify destroy)
{
g_return_if_fail (G_IS_OBJECT (object)); //memory leak if returns from here
g_return_if_fail (key != NULL); //memory leak if returns from here
--
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