Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754853AbYKSTWw (ORCPT ); Wed, 19 Nov 2008 14:22:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753033AbYKSTWn (ORCPT ); Wed, 19 Nov 2008 14:22:43 -0500 Received: from nlpi025.sbcis.sbc.com ([207.115.36.54]:42194 "EHLO nlpi025.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452AbYKSTWn (ORCPT ); Wed, 19 Nov 2008 14:22:43 -0500 Date: Wed, 19 Nov 2008 13:22:11 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@quilx.com To: Catalin Marinas cc: linux-kernel Subject: Re: Possible memory leak via slub kmem_cache_create In-Reply-To: <1227111954.27162.28.camel@pc1117.cambridge.arm.com> Message-ID: References: <1227111954.27162.28.camel@pc1117.cambridge.arm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Score: -2.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 378 Lines: 8 proto_register could add another field somewhere and store the pointer to the name there? Then free the string on proto_unregister. -- 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/