xvimagesink: fix leak when images are freed after the X context
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 13 Jan 2012 16:52:23 +0000 (16:52 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Fri, 13 Jan 2012 16:52:23 +0000 (16:52 +0000)
commita8a3e3f7d58492f9e47dfeee94b7af4679737207
treeca361c1c4899b8455c6c76057455de9f0df3af55
parent70c6c2ae0cfd9fe20e31f5dc9c340973645bb079
xvimagesink: fix leak when images are freed after the X context

I'm not 100% sure this is valid on any other X server than mine,
but since the XFree call does not take the context as a parameter,
it seems pretty certain it's the right thing to do, but I'll put
this caveat here in case someone checks in the future.
sys/xvimage/xvimagesink.c