From: Alexey Khoroshilov Date: Thu, 9 Aug 2012 13:19:25 +0000 (+0200) Subject: bio: Fix potential memory leak in bio_find_or_create_slab() X-Git-Tag: v3.6-rc4~18^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=389d7b26d9e4f78b17366c23a3aa16b3c5cb3bde;p=pandora-kernel.git bio: Fix potential memory leak in bio_find_or_create_slab() Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Jeff Moyer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed