regmap: Fix potential memory leaks
Free allocated memory in case of an error in regmap_init_mem() and
regmap_init_mem_index().
Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
Showing
想要评论请 注册 或 登录
Free allocated memory in case of an error in regmap_init_mem() and
regmap_init_mem_index().
Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>