Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/dp/mst: fix a possible memory leak in fetch_monitor_name()
commit 6e03b13 upstream. drm_dp_mst_get_edid call kmemdup to create mst_edid. So mst_edid need to be freed after use. Signed-off-by: Hangyu Hua <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Lyude Paul <[email protected]> Cc: [email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information