In the Linux kernel, the following vulnerability has been resolved:
media: v4l2-mem2mem: fix a memleak in v4l2m2mregister_entity
The entity->name (i.e. name) is allocated in v4l2m2mregister_entity but isn't freed in its following error-handling paths. This patch adds such deallocation to prevent memleak of entity->name.