[PATCH 3.16 336/410] team: Fix double free in error path