diff options
author | Dave Airlie <airlied@redhat.com> | 2014-05-02 13:22:19 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-05-16 11:46:06 +1000 |
commit | ad222799bec32a2db99c12b4dfa5dc19a1f6eaac (patch) | |
tree | ae1110d8ff8d3d5692382385899fc5c5725104d7 /include/drm | |
parent | 444c9a08bf787e8236e132fab7eceeb2f065aa4c (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index e55fccbe7c4..c6b9e8ab0a2 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); extern const char *drm_get_tv_select_name(int val); extern void drm_fb_release(struct drm_file *file_priv); extern int drm_mode_group_init_legacy_group(struct drm_device *dev, struct drm_mode_group *group); +extern void drm_mode_group_destroy(struct drm_mode_group *group); extern bool drm_probe_ddc(struct i2c_adapter *adapter); extern struct edid *drm_get_edid(struct drm_connector *connector, struct i2c_adapter *adapter); |