From: Roland Dreier Date: Mon, 23 Feb 2009 04:04:34 +0000 (-0800) Subject: IB/ipath: Fix memory leak in init_shadow_tids() error path X-Git-Tag: v2.6.30-rc1~665^2^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c4512201575c7cc008b364e2e2c75cc7085c26;p=pandora-kernel.git IB/ipath: Fix memory leak in init_shadow_tids() error path If the second vmalloc() fails, the wrong pointer is pased to vfree(), so the first vmalloc() ends up getting leaked. This was spotted by the Coverity checker (CID 2709). Signed-off-by: Roland Dreier --- Reading git-diff-tree failed