mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-07 08:39:54 +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
1 changed files with 0 additions and 2 deletions
|
@ -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