diff options
| author | Jiang Liu <[email protected]> | 2013-01-21 13:20:45 -0800 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2013-01-25 13:49:27 -0700 |
| commit | d5af7d987a494a1b85e176b4c33dc115cb111662 (patch) | |
| tree | b4566d25bb2b102d4d4ae9138f6f4c26caea848d /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 7629d19a4df922e7497e170c1c7b508b5e27f486 (diff) | |
PCI: Fix reference count leak in pci_dev_present()
Function pci_get_dev_by_id() takes a reference on the pci_dev returned, so
pci_dev_present() should release the corresponding reference.
Signed-off-by: Jiang Liu <[email protected]>
Signed-off-by: Yinghai Lu <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions