Skip to content
Commit 9d7cdb87 authored by Robert-Ionut Alexa's avatar Robert-Ionut Alexa Committed by Meng Li
Browse files

dpaa2-console.c: free buffer before returning from dpaa2_console_read

commit 12853a2d942d2c0982f5ea4f17a0c59128a3a363 from
git://source.codeaurora.org/external/qoriq/qoriq-components/linux



Dpaa2_console_read function frees kbuf buffer before returning.
The variable no longer goes out of scope, leaking the storage it
points to.

Signed-off-by: default avatarRobert-Ionut Alexa <robert-ionut.alexa@nxp.com>
Signed-off-by: default avatarMeng Li <Meng.Li@windriver.com>
parent 0b08130f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment