diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-07 13:41:25 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-07 13:41:53 -0400 |
commit | 94919480d8bb66e1807b4fe87b8f326ef6e012c6 (patch) | |
tree | abda597fff014eb65d3003dfa121cc4945cd799b | |
parent | a57b2f172c1291f22f7ba2780c1b2f55e353c3e9 (diff) |
int10: Fix a nasty memory leak.
-rw-r--r-- | hw/xfree86/int10/helper_exec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/int10/helper_exec.c b/hw/xfree86/int10/helper_exec.c index 4e5f6d3fd..15eba4928 100644 --- a/hw/xfree86/int10/helper_exec.c +++ b/hw/xfree86/int10/helper_exec.c @@ -482,6 +482,8 @@ pci_device_for_cfg_address (CARD32 addr) if (iter) dev = pci_device_next(iter); + pci_iterator_destroy(iter); + return dev; } |