Re: [PATCH] media: ov2659: Fix memleak in ov2659_probe()

From: Markus Elfring
Date: Sun Jun 29 2025 - 12:45:58 EST


> ov2659_probe() won't clean all the allocated resources in fail
> path, which may causes the memleaks. Add v4l2_ctrl_handler_free() to
> prevent memleak.

Will it be nicer to refer to the term “memory leak” for an improved
change description and summary phrase?

Regards,
Markus