aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/platform/vimc/vimc-core.c
diff options
context:
space:
mode:
authorzhengbin <zhengbin13@huawei.com>2019-08-18 22:51:30 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-10-01 12:26:35 -0300
commit713f871b30a66dc4daff4d17b760c9916aaaf2e1 (patch)
treec219a3e3f260701a497ac874b6c5571e8fb43c2d /drivers/media/platform/vimc/vimc-core.c
parent36909b552d0ea960732bc1450186f3e738bc41fc (diff)
media: mc-device.c: fix memleak in media_device_register_entity
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>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions