Commit 872bd065 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: bam_dmux: fix memory leak in error case



If msm_bam_dmux_write() allocated a new skb and was unable to queue the
packet, the new skb needs to be freed.

Change-Id: I3da215d22092499efccafcbba16bc655dfe6099f
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent a9d32bab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment