diff options
Diffstat (limited to 'lib/libpciaccess/src/netbsd_pci.c')
-rw-r--r-- | lib/libpciaccess/src/netbsd_pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpciaccess/src/netbsd_pci.c b/lib/libpciaccess/src/netbsd_pci.c index 1f3bceaca..b6a5ccdec 100644 --- a/lib/libpciaccess/src/netbsd_pci.c +++ b/lib/libpciaccess/src/netbsd_pci.c @@ -942,6 +942,7 @@ pci_system_netbsd_create(void) for (i = 0; i < nbuses; i++) close(buses[i].fd); free(pci_sys); + pci_sys = NULL; return ENOMEM; } |