summaryrefslogtreecommitdiff
path: root/sys/v4l2/gstv4l2videodec.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-05-08 09:49:24 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-05-08 10:18:38 +0200
commit2a7abc98dbd5a184dd83c57370c690436040fdec (patch)
tree92119c51b0690531e626d231c4d83d1592aca323 /sys/v4l2/gstv4l2videodec.c
parentc3bd2bdcf493ba6c6dcd5bde4a67b8e0beeb21eb (diff)
souphttpsrc: Clean up all pending operations from libsoup before unreffing our context
When we cancel connection attempts and similar things, there are still some operations pending on our main context from the GCancellables. We should let them all run before unreffing our context, otherwise we leak file descriptors. Unfortunately this requires libsoup 2.47.0 or newer as earlier versions steal our main context from us and we can't use it for cleanup later without assertions and funny crashes. Based on a patch by Dmitry Shatrov <shatrov@gmail.com>. https://bugzilla.gnome.org/show_bug.cgi?id=663944
Diffstat (limited to 'sys/v4l2/gstv4l2videodec.c')
0 files changed, 0 insertions, 0 deletions