aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-05-01 23:22:19 -0400
committerDave Airlie <airlied@redhat.com>2014-05-15 21:46:06 -0400
commitad222799bec32a2db99c12b4dfa5dc19a1f6eaac (patch)
treeae1110d8ff8d3d5692382385899fc5c5725104d7 /include/drm
parent444c9a08bf787e8236e132fab7eceeb2f065aa4c (diff)
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>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index e55fccbe7c42..c6b9e8ab0a26 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -915,6 +915,7 @@ extern const char *drm_get_tv_subconnector_name(int val);
915extern const char *drm_get_tv_select_name(int val); 915extern const char *drm_get_tv_select_name(int val);
916extern void drm_fb_release(struct drm_file *file_priv); 916extern void drm_fb_release(struct drm_file *file_priv);
917extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group); 917extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group);
918extern void drm_mode_group_destroy(struct drm_mode_group *group);
918extern bool drm_probe_ddc(struct i2c_adapter *adapter); 919extern bool drm_probe_ddc(struct i2c_adapter *adapter);
919extern struct edid *drm_get_edid(struct drm_connector *connector, 920extern struct edid *drm_get_edid(struct drm_connector *connector,
920 struct i2c_adapter *adapter); 921 struct i2c_adapter *adapter);