Library: refactor FF_LIBRARY_LOAD to use __cleanup__

This commit is contained in:
李通洲
2023-02-15 14:51:04 +08:00
parent cabd36d078
commit 6ca4b5391b
19 changed files with 27 additions and 96 deletions
-1
View File
@@ -251,7 +251,6 @@ static const char* pciDetectGPUs(const FFinstance* instance, FFlist* gpus)
}
ffpci_cleanup(pci.access);
dlclose(libpci);
return NULL;
}