util/inteltool: fix memory leak
commit030c73031defb881fe379c002729b55919c5be3a
authorPatrick Georgi <pgeorgi@chromium.org>
Fri, 29 Jul 2016 20:30:20 +0000 (29 22:30 +0200)
committerMartin Roth <martinroth@google.com>
Sun, 31 Jul 2016 17:16:45 +0000 (31 19:16 +0200)
treef205f2d0625faad41994bdf8c82b93c5b2f771f9
parentbe8f0fa2bb43f80915d0635c06fbfda0285f113f
util/inteltool: fix memory leak

A struct pci_dev was allocated but not freed.

Change-Id: I6a8bbef6a118fc1f0aa7037e72c4d0dda9208f4b
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Found-by: Coverity Scan #1353037
Reviewed-on: https://review.coreboot.org/15971
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
util/inteltool/amb.c