diff options
author | Hauke Mehrtens <[email protected]> | 2015-05-24 22:37:03 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-05-27 18:34:05 -0500 |
commit | ef07991a95de76b07594448c3521361831ec2cfe (patch) | |
tree | 028f4d52668d97e3ca04322e004c7a71b154c33f /tools/perf/util/trace-event-scripting.c | |
parent | 18c4342aa56d70176eea85021e6fe8f6f8f39c7b (diff) |
PCI: iproc: Free resource list after registration
The resource list is only used in the setup process and was never freed.
pci_add_resource() allocates a memory area to store the list item.
Fix the memory leak.
Tested-by: Ray Jui <[email protected]>
Signed-off-by: Hauke Mehrtens <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions