drm: fix memory leak around mode_group (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 2 May 2014 03:22:19 +0000 (13:22 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 16 May 2014 01:46:06 +0000 (11:46 +1000)
commitad222799bec32a2db99c12b4dfa5dc19a1f6eaac
treeae1110d8ff8d3d5692382385899fc5c5725104d7
parent444c9a08bf787e8236e132fab7eceeb2f065aa4c
drm: fix memory leak around mode_group (v2)

This mode group id_list was never being freed.

v2: take David's suggestion to free in minor_free.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_stub.c
include/drm/drm_crtc.h