staging: mmal-vchiq: Fix memory leak in error path
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- On error, vchiq_mmal_component_init could leave the event context allocated for ports. Clean them up in the error path. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.org> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录