Re: [PATCH][next] afs: fix double kfree on cell_name on error exit path

2020-06-02 Thread David Howells
Colin King wrote: > From: Colin Ian King > > The error exit path is currently kfree'ing cell_name for a second time, > the previous kfree of this object occurred a statement earlier. Fix this > by removing it. > > Addresses-Coverity: ("Double free") > Fixes: 6147fe6b7f8c ("afs: Detect cell ali

[PATCH][next] afs: fix double kfree on cell_name on error exit path

2020-06-02 Thread Colin King
From: Colin Ian King The error exit path is currently kfree'ing cell_name for a second time, the previous kfree of this object occurred a statement earlier. Fix this by removing it. Addresses-Coverity: ("Double free") Fixes: 6147fe6b7f8c ("afs: Detect cell aliases 3 - YFS Cells with a canonical