Re: [PATCH v2] media: go7007: fix a miss of snd_card_free

From: Markus Elfring
Date: Tue Dec 10 2019 - 06:48:59 EST


> go7007_snd_init() misses a snd_card_free() in an error path.
> Add the missed call to fix it.

Can the tag âReported-byâ be appropriate according to a review comment
from 2017-09-19?
https://lkml.org/lkml/2017/9/19/115
https://lore.kernel.org/patchwork/comment/1026462/


> Changes in v2:
> - Use goto to simplify the code.

Thanks for your improvement of the exception handling.

Regards,
Markus