Free libpciaccess iterator in xf86PciProbe
Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
ded35b7bf7
commit
d5959d37cd
|
@ -124,7 +124,7 @@ xf86PciProbe(void)
|
|||
info->user_data = 0;
|
||||
}
|
||||
}
|
||||
|
||||
free(iter);
|
||||
|
||||
/* If we haven't found a primary device try a different heuristic */
|
||||
if (primaryBus.type == BUS_NONE && num) {
|
||||
|
@ -212,6 +212,7 @@ xf86PciProbe(void)
|
|||
|
||||
xf86ErrorF("\n");
|
||||
}
|
||||
xfree(xf86PciVideoInfo);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue