Commit cf67fc22 authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

ITS#9016 Do not forget to close directory handle

parent 1d5e16fa
Pipeline #2146 passed with stage
in 45 minutes and 34 seconds
...@@ -4536,6 +4536,7 @@ config_setup_ldif( BackendDB *be, const char *dir, int readit ) { ...@@ -4536,6 +4536,7 @@ config_setup_ldif( BackendDB *be, const char *dir, int readit ) {
break; break;
} }
} }
closedir( dir_of_path );
} }
/* ITS#4194 - only use if it's present, or we're converting. */ /* ITS#4194 - only use if it's present, or we're converting. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment