mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
asset: Plug a GError leak
This commit is contained in:
parent
2b79c0db5e
commit
de7c0731f5
1 changed files with 3 additions and 1 deletions
|
@ -1189,7 +1189,9 @@ ges_asset_request_async (GType extractable_type,
|
|||
goto done;
|
||||
case ASSET_INITIALIZED_WITH_ERROR:
|
||||
g_task_return_error (task,
|
||||
error ? error : g_error_copy (asset->priv->error));
|
||||
error ? g_error_copy (error) : g_error_copy (asset->priv->error));
|
||||
|
||||
g_clear_error (&error);
|
||||
|
||||
goto done;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue