mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
a654ddac08
The various devm_ functions allocate memory that is released when a driver detaches. This patch replaces the use of kzalloc by devm_kzalloc. Additionally, this patch fixes a memory leak: some memory was allocated for 'panel' but not released when the subsequent call to setup_vsync fails. Signed-off-by: Damien Cassou <damien.cassou@lifl.fr> Acked-by: David Brown <davidb@codeaurora.org> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> |
||
---|---|---|
.. | ||
Makefile | ||
mddi_client_dummy.c | ||
mddi_client_nt35399.c | ||
mddi_client_toshiba.c | ||
mddi_hw.h | ||
mddi.c | ||
mdp_csc_table.h | ||
mdp_hw.h | ||
mdp_ppp.c | ||
mdp_scale_tables.c | ||
mdp_scale_tables.h | ||
mdp.c | ||
msm_fb.c |