1
0
Fork 0
alistair23-linux/drivers/media/mc
zhengbin 1333ce263a media: mc-device.c: fix memleak in media_device_register_entity
[ Upstream commit 713f871b30 ]

In media_device_register_entity, if media_graph_walk_init fails,
need to free the previously memory.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:17:10 +02:00
..
Kconfig
Makefile
mc-dev-allocator.c
mc-device.c media: mc-device.c: fix memleak in media_device_register_entity 2020-10-01 13:17:10 +02:00
mc-devnode.c
mc-entity.c
mc-request.c media: media-request: Fix crash if memory allocation fails 2020-08-19 08:16:24 +02:00