[PATCH 3.18 31/93] team: Fix double free in error path