Skip to content
Commit 4bc61b11 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

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: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent f4d720b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment