Skip to content
Commit 7a688c91 authored by José Expósito's avatar José Expósito Committed by Stephen Boyd
Browse files

clk: mediatek: Fix memory leaks on probe



Handle the error branches to free memory where required.

Addresses-Coverity-ID: 1491825 ("Resource leak")
Signed-off-by: default avatarJosé Expósito <jose.exposito89@gmail.com>
Reviewed-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20220115183059.GA10809@elementary


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent e783362e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment