]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
drm/vc4: Fix memory leak of the CRTC state.
authorEric Anholt <eric@anholt.net>
Mon, 10 Oct 2016 16:44:06 +0000 (09:44 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 17 Jan 2017 10:12:39 +0000 (21:12 +1100)
commit7622b25543665567d8830a63210385b7d705924b
tree2f3522f04e33b3b92a589207d561403cad7b4bcf
parent7ce7d89f48834cefece7804d38fc5d85382edf77
drm/vc4: Fix memory leak of the CRTC state.

The underscores variant frees the pointers inside, while the
no-underscores variant calls underscores and then frees the struct.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: d8dbf44f13b9 ("drm/vc4: Make the CRTCs cooperate on allocating display lists.")
Cc: stable@vger.kernel.org
drivers/gpu/drm/vc4/vc4_crtc.c