From: Yann E. MORIN Date: Tue, 16 Jul 2013 18:32:33 +0000 (+0200) Subject: kconfig: don't allocate n+1 elements in temporary array X-Git-Tag: v3.12-rc1~57^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1407f97aeda5720d6327d69f6058537c0fd469e3;p=pandora-kernel.git kconfig: don't allocate n+1 elements in temporary array The temporary array that stores the search results is not NULL-terminated, so there is no reason to allocate n+1 elements. Reported-by: Jean Delvare Signed-off-by: "Yann E. MORIN" Reviewed-by: Jean Delvare --- Reading git-diff-tree failed