summaryrefslogtreecommitdiff
path: root/util/inteltool/amb.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/inteltool/amb.c')
-rw-r--r--util/inteltool/amb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/inteltool/amb.c b/util/inteltool/amb.c
index ca6b9cd471..26bece04e3 100644
--- a/util/inteltool/amb.c
+++ b/util/inteltool/amb.c
@@ -439,6 +439,7 @@ int print_ambs(struct pci_dev *dev, struct pci_access *pacc)
max_channel = pci_read_byte(dev16, 0x56)/max_branch;
max_amb = pci_read_byte(dev16, 0x57);
+ pci_free_dev(dev16);
break;
default: