Commit 6a309de6 authored by Zaheerulla Meer's avatar Zaheerulla Meer Committed by Karthikeyan Ramasubramanian
Browse files

msm: ipc: Fix memory leak



When IPC Router detects a data packet from an unknown remote port,
the router creates a remote port. In case of failure while creating the
remote port, router doesn't free the memory allocated to the data packet.
This leads to memory leak beacuse once the above mentioned failure
occurs, the data packet never gets used.

Fix the memory leak in case of failure while creating the remote port.

Change-Id: I168329db88afb6159b1eda64fbd4bbeb95fbd94f
Signed-off-by: default avatarZaheerulla Meer <zmeer@codeaurora.org>
parent 3ce2dfba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment