mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
228d284aac
In the init loop, if an error occurs in function 'dma_alloc_coherent',
then goto the err_cleanup section, after run i--,
in the array ring, the struct mtk_ring with index i will not be released,
causing memory leaks
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
mtk-aes.c | ||
mtk-platform.c | ||
mtk-platform.h | ||
mtk-regs.h | ||
mtk-sha.c |