lkml.org 
[lkml]   [2019]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: question about memory leak in ip_mc_del1_src
From
From: maowenan <maowenan@huawei.com>
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?

\
 
 \ /
  Last update: 2019-03-04 19:17    [W:0.048 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site