From: Greg Kroah-Hartman Date: Thu, 23 Jan 2014 20:01:12 +0000 (-0800) Subject: PCI/MSI: Fix leak of msi_attrs X-Git-Tag: v3.15-rc1~143^2~9^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f81c099bee8141f764fd41a1f4b68b93be3296;p=pandora-kernel.git PCI/MSI: Fix leak of msi_attrs Coverity reported that I forgot to clean up some allocated memory on the error path in populate_msi_sysfs(), so this patch fixes that. Thanks to Dave Jones for pointing out where the error was, I obviously can't read code this morning... Found by Coverity (CID 1163317). Fixes: 1c51b50c2995 ("PCI/MSI: Export MSI mode using attributes, not kobjects") Signed-off-by: Greg Kroah-Hartman Signed-off-by: Bjorn Helgaas Cc: Dave Jones --- Reading git-diff-tree failed