mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
CAS: Fix memory leak in FactoryLoader
Bug: 258638318 Bug: 262899644 Test: android.hardware.cas-service_fuzzer Change-Id: Iff8a4e34a11f5a96e6c65cd84ee55f1712711670
This commit is contained in:
@@ -139,6 +139,7 @@ bool FactoryLoader<T>::enumeratePlugins(vector<AidlCasPluginDescriptor>* results
|
||||
queryPluginsFromPath(pluginPath, results);
|
||||
}
|
||||
}
|
||||
closedir(pDir);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user