diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2019-04-18 16:44:31 -0400 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2019-04-18 16:44:41 -0400 |
commit | b09ed0d0c3a6670e7540beee7679d0a911103d0f (patch) | |
tree | e0e06b35267726a945732c008d61a245e5ee4004 | |
parent | 056198b15e71e04c81d13b017930eabc42cc4476 (diff) |
asset: Avoid unrefing a task we do not own
-rw-r--r-- | ges/ges-asset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ges/ges-asset.c b/ges/ges-asset.c index 3052dee6de..0bd1d33cdc 100644 --- a/ges/ges-asset.c +++ b/ges/ges-asset.c @@ -1182,6 +1182,7 @@ ges_asset_request_async (GType extractable_type, case ASSET_NEEDS_RELOAD: GST_DEBUG_OBJECT (asset, "Asset in cache and needs reload"); ges_asset_cache_append_task (extractable_type, real_id, task); + task = NULL; GES_ASSET_GET_CLASS (asset)->start_loading (asset, &error); goto done; |