fix: missing closedir in plugin.c
This commit is contained in:
parent
afcbadf374
commit
6f71564bdd
|
@ -887,6 +887,7 @@ char *add_plugin_dir(struct plugins *plugins, const char *dir, bool nonexist_ok)
|
|||
if (fullpath)
|
||||
plugin_register(plugins, take(fullpath));
|
||||
}
|
||||
closedir(d);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue