mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +00:00
ges-project: Check for set/unset error correctly by dereferencing
... or simply calling g_clear_error() on it which does that for us. CID 1257630
This commit is contained in:
parent
da399fb196
commit
1c6893c57d
1 changed files with 1 additions and 2 deletions
|
@ -789,8 +789,7 @@ ges_project_create_asset_sync (GESProject * project, const gchar * id,
|
||||||
if (possible_id == NULL)
|
if (possible_id == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (error)
|
g_clear_error (error);
|
||||||
g_clear_error (error);
|
|
||||||
|
|
||||||
id = possible_id;
|
id = possible_id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue