diff options
| author | Tero Kristo <t-kristo@ti.com> | 2020-04-29 16:13:39 +0300 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2020-06-29 20:07:51 -0400 |
| commit | 820fd4a6a1ea9b3fda8a94e74c270e271da06354 (patch) | |
| tree | d4456bddd3232c5c150652515d99b1dedd38715e /include/linux | |
| parent | 21e382b30138493f1ff3ca760d520c7e4e6b1c5b (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
