In message: [linux-yocto]: [kernel v5.4/standard/bcm-2xxx-rpi]: drivers: staging: vc04_services: add VCHI_INSTANCE_T member struct vchiq_mmal_instance on 02/09/2020 [email protected] wrote:
> From: Limeng <[email protected]> > > Hi Bruce, > > When initialize VCHI_INSTANCE_T instance, it is a local variable > in function vchiq_mmal_init(). In this way, there will be memory > leak if vchiq instance is initialized failed or uninstall vchiq > mmal driver. > Therefore, add a VCHI_INSTANCE_T member struct vchiq_mmal_instance > to save the vchiq instance, so that release vchiq instance if necessary. > > Could you please help to merge the patch into branch > v5.4/standard/bcm-2xxx-rpi, linux-ycoto kernel. merged. Bruce > > diffstat info ad below: > > mmal-vchiq.c | 7 +++++++ > 1 file changed, 7 insertions(+) > > > thanks, > Limeng
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9023): https://lists.yoctoproject.org/g/linux-yocto/message/9023 Mute This Topic: https://lists.yoctoproject.org/mt/76643129/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
