[PATCH] drm/core: Fix error condition in __setplane_internal.

2015-10-19 Thread Daniel Vetter
On Mon, Oct 19, 2015 at 03:14:52PM +0200, Maarten Lankhorst wrote: > Just like the other checks the crtc coordinates need to use goto out. > > This fixes a framebuffer leak introduced by commit 3968be946a057baa. > "drm: Make integer overflow checking cover universal cursor updates (v2)" > > Cc:

[PATCH] drm/core: Fix error condition in __setplane_internal.

2015-10-19 Thread Maarten Lankhorst
Just like the other checks the crtc coordinates need to use goto out. This fixes a framebuffer leak introduced by commit 3968be946a057baa. "drm: Make integer overflow checking cover universal cursor updates (v2)" Cc: Matt Roper Fixes: 3968be946a057baa Signed-off-by: Maarten Lankhorst --- diff