diff options
-rw-r--r-- | source3/lib/ldb/tools/ldbmodify.c | 1 | ||||
-rw-r--r-- | source4/lib/ldb/tools/ldbmodify.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/ldb/tools/ldbmodify.c b/source3/lib/ldb/tools/ldbmodify.c index e3552b4ea3a..a83053dcf14 100644 --- a/source3/lib/ldb/tools/ldbmodify.c +++ b/source3/lib/ldb/tools/ldbmodify.c @@ -108,6 +108,7 @@ int main(int argc, const char **argv) exit(1); } ret = process_file(ldb, f, &count, &failures); + fclose(f); } } diff --git a/source4/lib/ldb/tools/ldbmodify.c b/source4/lib/ldb/tools/ldbmodify.c index c3f55c6096d..23a96a39761 100644 --- a/source4/lib/ldb/tools/ldbmodify.c +++ b/source4/lib/ldb/tools/ldbmodify.c @@ -105,6 +105,7 @@ int main(int argc, const char **argv) exit(1); } ret = process_file(ldb, f, &count); + fclose(f); } } |