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: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com> Signed-off-by: Meng Li <Meng.Li@windriver.com>
Please register or sign in to comment