mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
ges: Add NULL check before dereferencing
CID 1394494.
This commit is contained in:
parent
be48b040ea
commit
d9ab6f14e8
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ ges_init_post (GOptionContext * context, GOptionGroup * group, gpointer data,
|
|||
}
|
||||
|
||||
uriasset_klass = g_type_class_ref (GES_TYPE_URI_CLIP_ASSET);
|
||||
if (!uriasset_klass->discoverer)
|
||||
if (!uriasset_klass || !uriasset_klass->discoverer)
|
||||
goto failed;
|
||||
|
||||
if (!uriasset_klass->sync_discoverer)
|
||||
|
|
Loading…
Reference in a new issue