4575962aee
'map' is allocated using devm_* which takes care of freeing the allocated
data, but in error paths there is a call to pinctrl_utils_free_map()
which also does kfree(map) which leads to a double free.
Use kcalloc() instead of devm_kcalloc() as freeing is manually handled.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pinctrl-cv18xx.c | ||
pinctrl-cv18xx.h | ||
pinctrl-cv1800b.c | ||
pinctrl-cv1812h.c | ||
pinctrl-sg2000.c | ||
pinctrl-sg2002.c |