Commit 96cb7480 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: bam_dmux: fix memory leak in error case



If dma_map_single() fails, the tx_pkt_info allocated eariler needs to
be freed or else the memory will be leaked.

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