diff options
| author | Peter Ujfalusi <[email protected]> | 2024-01-12 15:27:49 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-01-12 14:13:52 +0000 |
| commit | 813c2f2925ee9c10dc4acd5aa7410cd3357e8da8 (patch) | |
| tree | 1eb8ab66a644c8dbbacccfb4fe20ca7fc5817cd6 /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | e3b3ec967a7d93b9010a5af9a2394c8b5c8f31ed (diff) | |
ASoC: SOF: icp3-dtrace: Revert "Fix wrong kfree() usage"
The offending patch introduces memory leak when there is no error, the
memory allocated for the temporary storage is not freed up.
As I have commented, the original code was correct and cleaner to
follow but it was not obvious from the patch that it will introduce
regression.
Fixes: 8c91ca76f448 ("ASoC: SOF: icp3-dtrace: Fix wrong kfree() usage")
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions