mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 05:35:53 +00:00
asset: Do not take an extra ref on asset when already initialized
The task already has a ref so this one doesn't make sense and leads to leaks
This commit is contained in:
parent
2d8be79cb7
commit
6a0f2358ce
|
@ -1152,8 +1152,6 @@ ges_asset_request_async (GType extractable_type,
|
|||
while (TRUE) {
|
||||
switch (asset->priv->state) {
|
||||
case ASSET_INITIALIZED:
|
||||
gst_object_ref (asset);
|
||||
|
||||
GST_DEBUG_OBJECT (asset, "Asset in cache and initialized, "
|
||||
"using it");
|
||||
|
||||
|
|
Loading…
Reference in a new issue