aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2020-06-17 11:35:36 -0500
committerVinod Koul <[email protected]>2020-06-22 17:15:20 +0530
commitbf6d6e68d2028a2d82f4c106f50ec75cc1e6ef89 (patch)
tree2f924dcc75c787859e2911a0b1b6917f0967f024 /arch/powerpc/lib/code-patching.c
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
soundwire: intel: fix memory leak with devm_kasprintf
The dais are allocated with devm_kcalloc() but their name isn't resourced managed and never freed. Fix by also using devm_ for the dai names as well. Fixes: c46302ec554c5 ('soundwire: intel: Add audio DAI ops') Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Daniel Baluta <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Rander Wang <[email protected]> Reviewed-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions