Browse Source

fix: missing closedir in plugin.c

issue-2504
Michael Schmoock 6 years ago
committed by Rusty Russell
parent
commit
6f71564bdd
  1. 1
      lightningd/plugin.c

1
lightningd/plugin.c

@ -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…
Cancel
Save