Paul Wise (Debian) has uploaded a new change for review. ( https://review.coreboot.org/19561 )
Change subject: intelmetool: free sb pci_dev struct allocated by pci_get_dev() ......................................................................
intelmetool: free sb pci_dev struct allocated by pci_get_dev()
This fixes a memory leak in the activate_me() function.
Change-Id: I011b2f96122d8f88aed121352afe3f0d41edef60 Signed-off-by: Paul Wise pabs3@bonedaddy.net --- M util/intelmetool/intelmetool.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/61/19561/1
diff --git a/util/intelmetool/intelmetool.c b/util/intelmetool/intelmetool.c index d6fd0fe..62dc4d9 100644 --- a/util/intelmetool/intelmetool.c +++ b/util/intelmetool/intelmetool.c @@ -220,6 +220,7 @@ printf("MEI not hidden on PCI, checking if visible\n"); }
+ pci_free_dev(sb); pci_cleanup(pacc);
return 0;