Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261470AbVCWOOY (ORCPT ); Wed, 23 Mar 2005 09:14:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261486AbVCWOOY (ORCPT ); Wed, 23 Mar 2005 09:14:24 -0500 Received: from mx04.cybersurf.com ([209.197.145.108]:40332 "EHLO mx04.cybersurf.com") by vger.kernel.org with ESMTP id S261470AbVCWONd (ORCPT ); Wed, 23 Mar 2005 09:13:33 -0500 Subject: Re: memory leak in net/sched/ipt.c? From: jamal Reply-To: hadi@cyberus.ca To: Jan Engelhardt Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com In-Reply-To: <1111586750.1075.0.camel@jzny.localdomain> References: <1111581618.1088.72.camel@jzny.localdomain> <20050323125516.GP3086@postel.suug.ch> <1111583497.1089.92.camel@jzny.localdomain> <1111586750.1075.0.camel@jzny.localdomain> Content-Type: text/plain Organization: jamalopolous Message-Id: <1111587168.1072.4.camel@jzny.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 23 Mar 2005 09:12:48 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 866 Lines: 29 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 > > > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/