mirror of
https://github.com/dynup/kpatch
synced 2025-01-08 22:29:34 +00:00
5a6ddaad8d
The error paths in kpatch_shadow_alloc do not free an allocated kpatch_shadow structure (and it's not added to the kpatch_shadow_hash). Handle the kfree in the various error return paths. Fixes the smatch warning: kmod/core/shadow.c:97 kpatch_shadow_alloc() warn: possible memory leak of 'shadow' |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |