Skip to content

Commit 7655b06

Browse files
Debian Kernel Teamraspbian-autopush
Debian Kernel Team
authored andcommitted
rpi_1461_81d8808b1b58d0cf750e641c20f7b5d32e975777
commit 81d8808 Author: Eric Anholt <[email protected]> Date: Tue Aug 8 13:56:05 2017 -0700 drm/vc4: Fix leak of HDMI EDID We don't keep a pointer to it around anywhere, so it's our job to free it. Cc: Stefan Wahren <[email protected]> Link: anholt/linux#101 Fixes: c8b75bc ("drm/vc4: Add KMS support for Raspberry Pi.") Signed-off-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]> Tested-by: Stefan Wahren <[email protected]> (cherry picked from commit 5afe0e62a548a0aa7d2095a98530b68f3d2c64e6) Gbp-Pq: Topic rpi Gbp-Pq: Name rpi_1461_81d8808b1b58d0cf750e641c20f7b5d32e975777.patch
1 parent 763c40a commit 7655b06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ static int vc4_hdmi_connector_get_modes(struct drm_connector *connector)
243243
drm_mode_connector_update_edid_property(connector, edid);
244244
ret = drm_add_edid_modes(connector, edid);
245245
drm_edid_to_eld(connector, edid);
246+
kfree(edid);
246247

247248
return ret;
248249
}

0 commit comments

Comments
 (0)