Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261592AbVCWNkq (ORCPT ); Wed, 23 Mar 2005 08:40:46 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262304AbVCWNkp (ORCPT ); Wed, 23 Mar 2005 08:40:45 -0500 Received: from linux01.gwdg.de ([134.76.13.21]:36302 "EHLO linux01.gwdg.de") by vger.kernel.org with ESMTP id S261592AbVCWNkm (ORCPT ); Wed, 23 Mar 2005 08:40:42 -0500 Date: Wed, 23 Mar 2005 14:40:36 +0100 (MET) From: Jan Engelhardt To: jamal cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: memory leak in net/sched/ipt.c? In-Reply-To: <1111583497.1089.92.camel@jzny.localdomain> Message-ID: References: <1111581618.1088.72.camel@jzny.localdomain> <20050323125516.GP3086@postel.suug.ch> <1111583497.1089.92.camel@jzny.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 476 Lines: 14 >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 -- - 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/