mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-04 22:36:10 +00:00
int10: Fix a nasty memory leak.
This commit is contained in:
parent
a57b2f172c
commit
94919480d8
1 changed files with 2 additions and 0 deletions
|
|
@ -482,6 +482,8 @@ pci_device_for_cfg_address (CARD32 addr)
|
|||
if (iter)
|
||||
dev = pci_device_next(iter);
|
||||
|
||||
pci_iterator_destroy(iter);
|
||||
|
||||
return dev;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue