Re: question about memory leak in ip_mc_del1_src
From: David Miller
Date: Mon Mar 04 2019 - 13:16:36 EST
From: maowenan <maowenan@xxxxxxxxxx>
Date: Mon, 4 Mar 2019 20:47:42 +0800
> pmc->tomb = psf;
> rv = 1; //if it does not kfree(psf), will it lead to memory leak after this line?
pmc->tomb points to psf, why should we free it?