commit | 5bf0da7dd0ae193e072412519cba1d77b6196c61 | [log] [tgz] |
---|---|---|
author | Nicolas Morey-Chaisemartin <nicolas.morey-chaisemartin@ext.bull.net> | Tue Apr 21 10:11:06 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Apr 21 10:11:06 2009 -0700 |
tree | 6d995cda8a563dacfd734cb1fb2395e83c08559f | |
parent | a939b96cccdb65df80a52447ec8e4a6d79c56dbb [diff] |
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 <nicolas.morey-chaisemartin@ext.bull.net> Signed-off-by: Roland Dreier <rolandd@cisco.com>