diff options
author | Huang Chao <chao7.huang@samsung.com> | 2014-11-12 11:44:32 +0800 |
---|---|---|
committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-11-27 05:39:48 -0800 |
commit | f146ac43b1dcaf9a1ec3bb36aa4a9a572a3af3ed (patch) | |
tree | 9b73750311a5516f3f08c3658b4c23df1856445c /block/partition-generic.c | |
parent | 6cacffa8e7643777d854b272d6789edfe9048138 (diff) | |
download | linux-3.10-f146ac43b1dcaf9a1ec3bb36aa4a9a572a3af3ed.tar.gz linux-3.10-f146ac43b1dcaf9a1ec3bb36aa4a9a572a3af3ed.tar.bz2 linux-3.10-f146ac43b1dcaf9a1ec3bb36aa4a9a572a3af3ed.zip |
ASoC: samsung: dma: Fix the memory resource leakage issue
After we use kzalloc to allocate memory and make chan point
to this block resource, then dma_request_slave_channel will
overwrite the pointer chan, which can result to memory leak
where chan points to.
Change-Id: Ie659df4e1855abc3f57ac3c54e97a6a448dac26e
Signed-off-by: Huang Chao <chao7.huang@samsung.com>
Diffstat (limited to 'block/partition-generic.c')
0 files changed, 0 insertions, 0 deletions