97b4000637
[ Upstream commit 228d284aac61283cde508a925d666f854b57af63 ]
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 |