Commit e0f8b54a authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Thibault Saunier
Browse files

project: Add missing safe guard when listing assets

parent 29f25c6c
Pipeline #67434 passed with stages
in 92 minutes and 29 seconds
......@@ -1041,6 +1041,8 @@ ges_project_list_assets (GESProject * project, GType filter)
gpointer key, value;
g_return_val_if_fail (GES_IS_PROJECT (project), NULL);
g_return_val_if_fail (filter == G_TYPE_NONE
|| g_type_is_a (filter, GES_TYPE_EXTRACTABLE), NULL);
g_hash_table_iter_init (&iter, project->priv->assets);
while (g_hash_table_iter_next (&iter, &key, &value)) {
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