[Bug 781914] gst_deinit() might be called without calling init_post and segfaults

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Apr 28 18:18:16 UTC 2017


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

--- Comment #2 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 350678
  --> https://bugzilla.gnome.org/attachment.cgi?id=350678&action=edit
gst: unref instantiated classes

It is possible to use gst_deinit() without registering the base
classes. For example, when using gst_init_get_option_group() and
call the program with an invalid parameter.

When unrefing non-instantiated classes a critical log message is
thrown. This patch adds checks for the type before unref it.

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