[PATCH] IB/mthca: Fix memory leak on error path
authorRoland Dreier <roland@topspin.com>
Mon, 27 Jun 2005 21:36:44 +0000 (14:36 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:11:46 +0000 (15:11 -0700)
commit761f9eb8c31f72692aad118e51e2a59a80467088
treea3663084daf11a4e6576661ea9aa9143bfc276b3
parentd56d6f9502a15ef64395cb3a6fc7bfdc365b1e3d
[PATCH] IB/mthca: Fix memory leak on error path

Free page_list buffer on error path of mthca_reg_phys_mr().

Signed-off-by: Roland Dreier <roland@topspin.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/hw/mthca/mthca_provider.c