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:
Faiz Abbas <faiz_abbas@ti.com>
Loading
Please sign in to comment
Free allocated memory in case of an error in regmap_init_mem() and
regmap_init_mem_index().
Signed-off-by:
Faiz Abbas <faiz_abbas@ti.com>