Skip to content
Commit a21b7f0c authored by Navid Emamdoost's avatar Navid Emamdoost Committed by David S. Miller
Browse files

net: qrtr: fix memort leak in qrtr_tun_write_iter



In qrtr_tun_write_iter the allocated kbuf should be release in case of
error or success return.

v2 Update: Thanks to David Miller for pointing out the release on success
path as well.

Signed-off-by: default avatarNavid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 10cc514f
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