diff options
author | 2014-01-23 12:01:12 -0800 | |
---|---|---|
committer | 2014-02-03 22:08:48 -0800 | |
commit | 13f81c099bee8141f764fd41a1f4b68b93be3296 (patch) | |
tree | 8865b97eee0c27a5bb436243837ec7d13f0892ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/MSI: Check kmalloc() return value, fix leak of name (diff) | |
download | wireguard-linux-13f81c099bee8141f764fd41a1f4b68b93be3296.tar.xz wireguard-linux-13f81c099bee8141f764fd41a1f4b68b93be3296.zip |
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 <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Dave Jones <davej@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions