diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-04-29 16:13:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-25 16:32:56 +0300 |
commit | aee22d36810edc6a94be7d099d6831821dc897e6 (patch) | |
tree | 138ef8c1843c0feb2fe4846dd98a6327159166a8 /drivers/pci | |
parent | 68728008569cc364cdb52a1d7ea6d61c6f23ddc8 (diff) | |
download | linux-aee22d36810edc6a94be7d099d6831821dc897e6.tar.xz |
clk: ti: composite: fix memory leak
[ Upstream commit c7c1cbbc9217ebb5601b88d138d4a5358548de9d ]
The parent_names is never released for a component clock definition,
causing some memory leak. Fix by releasing it once it is no longer
needed.
Reported-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lkml.kernel.org/r/20200429131341.4697-2-t-kristo@ti.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions