mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
pad: unlock before freeing the cache to avoid deadlock
https://bugzilla.gnome.org/show_bug.cgi?id=648199
This commit is contained in:
parent
38dcd41b97
commit
547d451772
1 changed files with 2 additions and 2 deletions
|
@ -4718,8 +4718,8 @@ slow_path:
|
|||
}
|
||||
invalid:
|
||||
{
|
||||
pad_free_cache (cache);
|
||||
GST_PAD_STREAM_UNLOCK (peer);
|
||||
pad_free_cache (cache);
|
||||
goto slow_path;
|
||||
}
|
||||
}
|
||||
|
@ -4830,8 +4830,8 @@ slow_path:
|
|||
}
|
||||
invalid:
|
||||
{
|
||||
pad_free_cache (cache);
|
||||
GST_PAD_STREAM_UNLOCK (peer);
|
||||
pad_free_cache (cache);
|
||||
goto slow_path;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue