]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/msm/atomic: Don't leak atomic commit object when commit fails
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 22 Feb 2015 22:58:03 +0000 (00:58 +0200)
committerRob Clark <robdclark@gmail.com>
Wed, 4 Mar 2015 23:23:40 +0000 (18:23 -0500)
commit5b2e2b6c5e542f7334dcaeb5b577d8328a5f2fc0
treed491dd2bfef04f14bc8a38ab609300b9c889943b
parentba0312a6108f5214efb4659c4dbba218c5b9eb8d
drm/msm/atomic: Don't leak atomic commit object when commit fails

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 <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_atomic.c