mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02: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:
|
||
|---|---|---|
| .. | ||
| 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 | ||