From: Phil Carmody Date: Thu, 10 Dec 2009 12:29:37 +0000 (+0200) Subject: sched: Fix memory leak in two error corner cases X-Git-Tag: v2.6.33-rc1~298^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc12eb26a285df316be68a808af86964f3bff86;p=pandora-kernel.git sched: Fix memory leak in two error corner cases If the second in each of these pairs of allocations fails, then the first one will not be freed in the error route out. Found by a static code analysis tool. Signed-off-by: Phil Carmody Acked-by: Peter Zijlstra LKML-Reference: <1260448177-28448-1-git-send-email-ext-phil.2.carmody@nokia.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed