[Bug 790752] msdk: supports bufferpool

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 8 16:29:08 UTC 2018


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

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #368110|none                        |needs-work
             status|                            |

--- Comment #70 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 368110:
 --> (https://bugzilla.gnome.org/review?bug=790752&attachment=368110)

::: sys/msdk/gstmsdkcontext.c
@@ +178,3 @@
+  GstMsdkContext *obj = g_object_new (GST_TYPE_MSDK_CONTEXT, NULL);
+
+  return gst_msdk_context_open (obj, hardware) ? obj : NULL;

Here's a memory leak:

if open() fails, NULL is returned leaking the context object.

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