projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056198b
)
asset: Avoid unrefing a task we do not own
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 18 Apr 2019 20:44:31 +0000
(16:44 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Thu, 18 Apr 2019 20:44:41 +0000
(16:44 -0400)
ges/ges-asset.c
patch
|
blob
|
history
diff --git
a/ges/ges-asset.c
b/ges/ges-asset.c
index
3052dee
..
0bd1d33
100644
(file)
--- 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;