Commit 547d4517 authored by Havard Graff's avatar Havard Graff Committed by Tim-Philipp Müller

pad: unlock before freeing the cache to avoid deadlock

https://bugzilla.gnome.org/show_bug.cgi?id=648199
parent 38dcd41b
......@@ -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;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment