summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2026-01-09 06:25:49 +0300
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2026-02-12 09:03:11 +0300
commit57b85fd53fccfdf14ce7b36d919c31aa752255f8 (patch)
treeca7fc4c75e5e8bacbf541b5c1cd5c7cd7d5f926e /include/linux/workqueue.h
parentfe26ae6ac8b88fcdac5036b557c129a17fe520d2 (diff)
downloadlinux-57b85fd53fccfdf14ce7b36d919c31aa752255f8.tar.xz
drm/i915/acpi: free _DSM package when no connectors
acpi_evaluate_dsm_typed() returns an ACPI package in pkg. When pkg->package.count == 0, we returned without freeing pkg, leaking memory. Free pkg before returning on the empty case. Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Fixes: 337d7a1621c7 ("drm/i915: Fix invalid access to ACPI _DSM objects") Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: https://patch.msgid.link/20260109032549.1826303-1-kaushlendra.kumar@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com> (cherry picked from commit c0a27a0ca8a34e96d08bb05a2c5d5ccf63fb8dc0) Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions