On Wednesday 01 June 2011 01:38:24 Piotr Pawłow wrote:
Since commit fadfdf21c055caf833a137ffc269c2073dc87fd6
surface refcounts are
forwarded to the container. We need to break this forwarding in
swapchain_init() error path, otherwise the swapchain refcount goes down to
zero and swapchain_cleanup() gets called on an invalid, partly initialized
swapchain.
This patch looks OK