Tag: bc26957c6cd913eaec9aac4ce17953efc1582c2e

powerpc/rtas_flash: Eliminate possible double free

Author: Julia Lawall <Julia.Lawall@lip6.fr> The function initialize_flash_pde_data is only called four times. All four calls are in the function rtas_flash_init, and on the failure of any of the calls, remove_flash_pde is called on the third argument of each of the calls. There is thus no need for initialize_flash_pde_data to call remove_flash_pde on the same argument. …

Continue reading