From 7f2a5ae6c1194b1676f1a7239fbcacd9d59637be Mon Sep 17 00:00:00 2001 From: John Snow Date: Mon, 4 Aug 2014 17:11:23 -0400 Subject: libqos: Fixes a small memory leak. Allow users the chance to clean up the QPCIBusPC structure by adding a small cleanup routine. Helps clear up small memory leaks during setup/teardown, to allow for cleaner debug output messages. Signed-off-by: John Snow Signed-off-by: Stefan Hajnoczi --- tests/libqos/pci-pc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libqos/pci-pc.h') diff --git a/tests/libqos/pci-pc.h b/tests/libqos/pci-pc.h index 4f7475f..2621179 100644 --- a/tests/libqos/pci-pc.h +++ b/tests/libqos/pci-pc.h @@ -16,5 +16,6 @@ #include "libqos/pci.h" QPCIBus *qpci_init_pc(void); +void qpci_free_pc(QPCIBus *bus); #endif -- cgit v1.1