[PATCH 6.12 125/172] net: renesas: rswitch: fix leaked pointer on error path