Commit 4216bd6e authored by He Junyan's avatar He Junyan
Browse files

libs: gl: Fix a context leak when display_create_context failed

parent 545a9933
......@@ -573,6 +573,8 @@ gst_gl_display_create_context (GstGLDisplay * display,
if (ret)
*p_context = context;
gst_object_unref (context);
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment