[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071016084427.GA13571@elte.hu>
Date: Tue, 16 Oct 2007 10:44:27 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Milton Miller <miltonm@....com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched domain sysctl: free kstrdup allocations
* Milton Miller <miltonm@....com> wrote:
> The procnames for the cpu and domain were allocated via kstrdup and so
> should also be freed. The names for the files are static, but we can
> differentiate them by the presence of the proc_handler. If a kstrdup
> (of < 32 characters) fails the sysctl code will not see the procname
> or remaining table entries, but any child tables and names will be
> reclaimed upon free.
thanks, applied.
Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists