diff options
| author | Jiri Slaby <[email protected]> | 2010-11-04 14:31:30 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2010-11-08 16:41:15 +0000 |
| commit | 2a63dd7275b2278bd7e9203f74b9aa4f07e82a7a (patch) | |
| tree | ee4de02c580b1e41eed25242b0e978d2a1ed1359 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | xen-pcifront: Remove duplicate inclusion of headers. (diff) | |
| download | kernel-2a63dd7275b2278bd7e9203f74b9aa4f07e82a7a.tar.gz kernel-2a63dd7275b2278bd7e9203f74b9aa4f07e82a7a.zip | |
xen-pcifront: fix PCI reference leak
Stanse found that when pdev is found and has no driver a reference is
leaked in pcifront_common_process. So add pci_dev_put there. For the
pdev == NULL case, pci_dev_put(NULL) is fine.
[v2: Updated to not dereference pcidev->dev per Milton's observation]
Signed-off-by: Jiri Slaby <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Cc: Milton Miller <[email protected]>
Cc: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
