netdev
[Top] [All Lists]

Re: memory leak in net/sched/ipt.c?

To: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Subject: Re: memory leak in net/sched/ipt.c?
From: jamal <hadi@xxxxxxxxxx>
Date: 23 Mar 2005 09:12:48 -0500
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <1111586750.1075.0.camel@xxxxxxxxxxxxxxxx>
Organization: jamalopolous
References: <E1DE44X-0001QM-00@xxxxxxxxxxxxxxxxxxxxxxxx> <1111581618.1088.72.camel@xxxxxxxxxxxxxxxx> <20050323125516.GP3086@xxxxxxxxxxxxxx> <1111583497.1089.92.camel@xxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0503231438290.10048@xxxxxxxxxxxxxxx> <1111586750.1075.0.camel@xxxxxxxxxxxxxxxx>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
Actually its well documented even on the man pages - so should have not
even have bothered discussing it;-> Should get new brand of coffee.
Apologies for unecessarily abused electrons - which means dont 
respond ;->

cheers,
jamal

On Wed, 2005-03-23 at 09:05, jamal wrote:
> On Wed, 2005-03-23 at 08:40, Jan Engelhardt wrote:
> > >I have seen people put little comments of "kfree will work if you
> > >pass it NULL" - are you saying such assumptions exist all over
> > >net/sched?
> > 
> > Not only net/sched. The C standard requires that free(NULL) works.
> 
> Thanks for clarifying this.
> 
> cheers,
> jamal
> 
> 
> 


<Prev in Thread] Current Thread [Next in Thread>