netdev
[Top] [All Lists]

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

To: jamal <hadi@xxxxxxxxxx>
Subject: Re: memory leak in net/sched/ipt.c?
From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 14:40:36 +0100 (MET)
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <1111583497.1089.92.camel@jzny.localdomain>
References: <E1DE44X-0001QM-00@gondolin.me.apana.org.au> <1111581618.1088.72.camel@jzny.localdomain> <20050323125516.GP3086@postel.suug.ch> <1111583497.1089.92.camel@jzny.localdomain>
Sender: netdev-bounce@xxxxxxxxxxx
>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.


Jan Engelhardt
-- 

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