[PATCH 5.10 v2 2/3] bonding: Fix memory leak when changing bond type to Ethernet