From: Nicolas Morey-Chaisemartin Date: Tue, 21 Apr 2009 17:11:06 +0000 (-0700) Subject: mlx4_core: Fix memory leak in mlx4_enable_msi_x() X-Git-Tag: v2.6.30-rc4~5^2^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf0da7dd0ae193e072412519cba1d77b6196c61;p=pandora-kernel.git mlx4_core: Fix memory leak in mlx4_enable_msi_x() When the msi_x option is enabled but pci_enable_msix() fails (not enough vectors are available etc), the entries array was not freed on the error path. Signed-off-by: Nicolas Morey-Chaisemartin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed