mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-03-06 16:20:36 +01:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue