Oops. I had a leak in the patch as sent! I'll squash this in before I push:
diff --git a/src/util/virpci.c b/src/util/virpci.c
index 8d0dec8..5d7e19e 100644
--- a/src/util/virpci.c
+++ b/src/util/virpci.c
@@ -1028,6 +1028,7 @@ cleanup:
VIR_FREE(drvdir);
VIR_FREE(path);
+ VIR_FREE(driver);
return result;
}
}