summaryrefslogtreecommitdiff
path: root/scripts/objdump-func
diff options
context:
space:
mode:
authorKaushlendra Kumar <kaushlendra.kumar@intel.com>2025-12-23 11:40:41 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-12-23 14:57:48 +0300
commit00c22b1e84288bf0e17ab1e7e59d75237cf0d0dc (patch)
treea609d7ed88c693fdb1c825d5febf3fc9c08ac543 /scripts/objdump-func
parent20e20b147cf7cb6780a5b95da2a0e37c52cd1015 (diff)
downloadlinux-00c22b1e84288bf0e17ab1e7e59d75237cf0d0dc.tar.xz
platform/x86/intel/pmt: Fix kobject memory leak on init failure
When kobject_init_and_add() fails in pmt_features_discovery(), the function returns without calling kobject_put(). This violates the kobject API contract where kobject_put() must be called even on initialization failure to properly release allocated resources. Fixes: d9a078809356 ("platform/x86/intel/pmt: Add PMT Discovery driver") Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com> Link: https://patch.msgid.link/20251223084041.3832933-1-kaushlendra.kumar@intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/objdump-func')
0 files changed, 0 insertions, 0 deletions