diff options
author | Robert-Ionut Alexa <[email protected]> | 2021-04-23 12:01:51 +0300 |
---|---|---|
committer | Li Yang <[email protected]> | 2021-10-21 18:19:52 -0500 |
commit | 8120bd469f5525da229953c1197f2b826c0109f4 (patch) | |
tree | 1c2c488610f5318cc182fab3eb00aa2d195af3c2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dc7e5940aad6641bd5ab33ea8b21c4b3904d989f (diff) |
soc: fsl: dpaa2-console: free buffer before returning from dpaa2_console_read
Free the kbuf buffer before returning from the dpaa2_console_read()
function. The variable no longer goes out of scope, leaking the storage
it points to.
Fixes: c93349d8c170 ("soc: fsl: add DPAA2 console support")
Signed-off-by: Robert-Ionut Alexa <[email protected]>
Signed-off-by: Ioana Ciornei <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions