diff --git a/cas/aidl/default/FactoryLoader.h b/cas/aidl/default/FactoryLoader.h index f90b109718..6a562f6875 100755 --- a/cas/aidl/default/FactoryLoader.h +++ b/cas/aidl/default/FactoryLoader.h @@ -139,6 +139,7 @@ bool FactoryLoader::enumeratePlugins(vector* results queryPluginsFromPath(pluginPath, results); } } + closedir(pDir); return true; }