staging: mmal-vchiq: Allocate and free components as required
[ Upstream commit 8c589e1794a31e9a381916b0280260ab601e4d6e ] The existing code assumed that there would only ever be 4 components, and never freed the entries once used. Allow arbitrary creation and destruction of components. Signed-off-by:Dave Stevenson <dave.stevenson@raspberrypi.org> Signed-off-by:
Jacopo Mondi <jacopo@jmondi.org> Signed-off-by:
Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/20200623164235.29566-3-nsaenzjulienne@suse.de Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: f37e76abd614 ("staging: vc04_services: fix information leak in create_component()") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment