[PATCH] drm/msm/atomic: Don't leak atomic commit object when commit fails

2015-02-23 Thread Laurent Pinchart
If the atomic commit fails due to completion wait interruption the atomic commit object is not freed and is thus leaked. Free it. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/msm/msm_atomic.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_at

[PATCH] drm/msm/atomic: Don't leak atomic commit object when commit fails

2015-02-22 Thread Rob Clark
On Sun, Feb 22, 2015 at 5:58 PM, Laurent Pinchart wrote: > If the atomic commit fails due to completion wait interruption the > atomic commit object is not freed and is thus leaked. Free it. > > Signed-off-by: Laurent Pinchart thx, queued up on my fixes branch BR, -R > --- > drivers/gpu/drm/m