[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:05:50 -0500
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.61.0503231438290.10048@xxxxxxxxxxxxxxx>
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>
Reply-to: hadi@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
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.


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