[PATCH 4.14 34/43] team: Fix double free in error path