diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-13 17:47:35 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-13 17:47:35 (GMT) |
commit | 29237756477d5e777e39257d94af449fc66026c2 (patch) | |
tree | bbe7b0a48a9d0be60d104792da3b594ccb80ce15 /kernel/delayacct.c | |
parent | 86bb4f697a964ab5e50f1159e04c6a5d5acde2d4 (diff) | |
download | linux-29237756477d5e777e39257d94af449fc66026c2.tar.xz |
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 'kernel/delayacct.c')
0 files changed, 0 insertions, 0 deletions