[PATCH] clk: mediatek: Fix memory leaks on probe

Chen-Yu Tsai wenst at chromium.org
Mon Dec 13 00:06:49 PST 2021


On Thu, Dec 9, 2021 at 2:52 AM José Expósito <jose.exposito89 at gmail.com> wrote:
>
> Handle the error branches to free memory where required.
>
> Addresses-Coverity-ID: 1491825 ("Resource leak")
> Signed-off-by: José Expósito <jose.exposito89 at gmail.com>

Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>

Though the bigger problem still perststs: clks registers aren't unregistered.



More information about the linux-arm-kernel mailing list