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
(from parent 1:
38dcd41
)
pad: unlock before freeing the cache to avoid deadlock
author
Havard Graff
<havard.graff@tandberg.com>
Tue, 19 Apr 2011 12:05:23 +0000
(14:05 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 19 Apr 2011 14:15:34 +0000
(15:15 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=648199
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
5a1cb80
..
a599d42
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-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;
}
}