summaryrefslogtreecommitdiff
path: root/configs/imx6ul_geam_mmc_defconfig
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-05-11 09:34:14 (GMT)
committerStefano Babic <sbabic@denx.de>2017-05-18 09:24:34 (GMT)
commitc1d1e9d677901e59f31e9c384c70883642867bc1 (patch)
tree0ea2cde02d112c55d296238db7b0aaea7f0b5980 /configs/imx6ul_geam_mmc_defconfig
parent8ae5bb37fcb1608fad6c2d114ea449ee7adf3f35 (diff)
downloadu-boot-fsl-qoriq-c1d1e9d677901e59f31e9c384c70883642867bc1.tar.xz
pinctrl: imx: fix memory leak
Each time set_state is called, a new piece memory will be allocated for pin_data, but not freed, this will incur memory leak. When error, the devm API could not free memory automatically. So need call devm_kfree when error. Issue reported by Coverity Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Simon Glass <sjg@chromium.org> Cc: Stefan Agner <stefan.agner@toradex.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'configs/imx6ul_geam_mmc_defconfig')
0 files changed, 0 insertions, 0 deletions