staging: mmal-vchiq: Fix memory leak in error path
On error, vchiq_mmal_component_init could leave the
event context allocated for ports.
Clean them up in the error path.
Signed-off-by:
Dave Stevenson <dave.stevenson@raspberrypi.org>
Loading
Please register or sign in to comment