summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorChaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>2026-01-13 13:22:53 +0300
committerMaarten Lankhorst <dev@lankhorst.se>2026-01-22 12:26:35 +0300
commitcce30b8311e8a342f97cee60a72c2d921605adbd (patch)
treed4d2d6cea08cf695f5566ae38c8373cb065fa257 /scripts/basic
parent7d8257fe2590fea9fef8071507f3b8a052c5e3d1 (diff)
downloadlinux-cce30b8311e8a342f97cee60a72c2d921605adbd.tar.xz
drm/vkms: Fix color pipeline enum name leak
vkms_initialize_colorops() allocates enum names for color pipelines, which are copied by drm_property_create_enum(). The temporary strings were not freed, resulting in a memory leak. Allocate enum names only after successful pipeline construction and free them on all exit paths Fixes: c1e578bd08da ("drm/vkms: Add enumerated 1D curve colorop") Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Reviewed-by: Uma Shankar <uma.shankar@intel.com> Reviewed-by: Alex Hung <alex.hung@amd.com> Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Maarten Lankhorst <dev@lankhorst.se> Link: https://patch.msgid.link/20260113102303.724205-4-chaitanya.kumar.borah@intel.com
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions