Properly free drm plane during creation of sprites
authorChris Michael <cp.michael@samsung.com>
Thu, 2 Jan 2014 11:39:40 +0000 (11:39 +0000)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 2 Jan 2014 23:22:59 +0000 (15:22 -0800)
commit8b37687d3a63205d613f5c37fa40ead32f923f2a
treefb6b39d6a534ac41fa84247c66c94a71232b7453
parent0e45e8712a8a9f5f555802a1ed494d7cbe183e10
Properly free drm plane during creation of sprites

If we fail to allocate space for a new drm_sprite, then we should
properly call drmModeFreePlane (not free) to release the drm plane.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/compositor-drm.c