[Bug 797131] libs: display: wayland: remove NULL check before g_free()
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Sep 12 11:52:44 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797131
Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #373619|none |needs-work
status| |
--- Comment #2 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Comment on attachment 373619
--> https://bugzilla.gnome.org/attachment.cgi?id=373619
remove NULL check before g_free function
please change it to g_pointer_clean(), and not only priv->display_name but most
of the wayland display members in close() method.
https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html#g-clear-pointer
--
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