diff options
author | Slava Semushin <php-coder@altlinux.org> | 2009-06-12 13:31:13 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-06-18 13:49:26 +1000 |
commit | 89e979fe998095c4bbcbacd4530a045b90f0dffa (patch) | |
tree | 9cb4e69c1325faabe509e188cf22f031adfd6bea /source4 | |
parent | e0caf399e19082b982b09f3c016044d561f7860a (diff) | |
download | samba-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 'source4')
-rw-r--r-- | source4/lib/ldb/tools/ldbmodify.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/tools/ldbmodify.c b/source4/lib/ldb/tools/ldbmodify.c index c3f55c6096..23a96a3976 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); } } |