[ldv-project] [PATCH] media: davinci: vpif_capture: fix potential double free

Markus Elfring Markus.Elfring at web.de
Thu Jul 23 23:15:16 MSK 2020


> In case of errors vpif_probe_complete() releases memory for vpif_obj.sd
> and unregisters the V4L2 device. But then this is done again by
> vpif_probe() itself. The patch removes the cleaning from
> vpif_probe_complete().

* An imperative wording can be preferred for the change description,
  can't it?

* Would you like to add the tag “Fixes” to the commit message?

Regards,
Markus



More information about the ldv-project mailing list