mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
of_parse_phandle() takes a reference on the parent node. If a later
devm_kstrdup() fails, err_rollback only releases nodes for indices
0..i-1, so the current node is leaked.
of_node_put() the current parent before rolling back.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| i2c-arb-gpio-challenge.c | ||
| i2c-demux-pinctrl.c | ||
| i2c-mux-gpio.c | ||
| i2c-mux-gpmux.c | ||
| i2c-mux-ltc4306.c | ||
| i2c-mux-mlxcpld.c | ||
| i2c-mux-mule.c | ||
| i2c-mux-pca954x.c | ||
| i2c-mux-pca9541.c | ||
| i2c-mux-pinctrl.c | ||
| i2c-mux-reg.c | ||
| Kconfig | ||
| Makefile | ||