Skip to content
Commit 3dc5fa9a authored by Egbert Eich's avatar Egbert Eich Committed by Inki Dae
Browse files

drm/exynos: fix memory leak to EDID block



drm_get_edid() returns a pointer to an EDID block. The caller
is responsible to free this pointer itself.
Here the pointer gets assigned to the local variable raw_edid.
Therefore it should be freed before the variable goes out of
scope.

Signed-off-by: default avatarEgbert Eich <eich@suse.de>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
parent 465ed660
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment