summaryrefslogtreecommitdiff
path: root/source3/lib/ldb
diff options
context:
space:
mode:
authorSlava Semushin <php-coder@altlinux.org>2009-06-12 13:31:13 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-06-18 13:49:26 +1000
commit89e979fe998095c4bbcbacd4530a045b90f0dffa (patch)
tree9cb4e69c1325faabe509e188cf22f031adfd6bea /source3/lib/ldb
parente0caf399e19082b982b09f3c016044d561f7860a (diff)
downloadsamba-89e979fe998095c4bbcbacd4530a045b90f0dffa.tar.gz
samba-89e979fe998095c4bbcbacd4530a045b90f0dffa.tar.bz2
samba-89e979fe998095c4bbcbacd4530a045b90f0dffa.zip
Fix resource leak in lib/ldb/tools/ldbmodify.c
Patch for bug #6389
Diffstat (limited to 'source3/lib/ldb')
-rw-r--r--source3/lib/ldb/tools/ldbmodify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ldb/tools/ldbmodify.c b/source3/lib/ldb/tools/ldbmodify.c
index e3552b4ea3..a83053dcf1 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);
}
}