[Bug 793483] gl/wayland: Memory leak when display couldn't connect

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 15 10:24:09 UTC 2018


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

--- Comment #1 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 368369
  --> https://bugzilla.gnome.org/attachment.cgi?id=368369&action=edit
gl/wayland: Memory leak when display couldn't connect

When trying to create a wayland display, it may fail because there
is not actually display to connect. It this case NULL is returned
but the created instance is not freed.

This patch unrefs the failed display.

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