net: qrtr: Free skb if qrtr_node_lookup fails during qrtr_fwd_pkt
While forwarding a packet, if the node lookup fails, qrtr_fwd_pkt returns
without freeing the socket buffer. This results in memory leak. Make sure
this memory is freed to prevent this memory leak.
Change-Id: Ia17ceaaa8da7ec7b08ea0982928502c52316e8c0
Signed-off-by:
Jay Jayanna <jayanna@codeaurora.org>
Loading
Please register or sign in to comment