Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soc: fsl: dpaa2-console: free buffer before returning from dpaa2_cons…
…ole_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: c93349d ("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]>
- Loading branch information