diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-15 01:28:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-15 01:28:34 +0000 |
commit | 98da4768df0939611bdfe7fb919c111013bc960a (patch) | |
tree | 19ac132286eda8ab9e1d1093175c9689efb81123 /source3/utils/status.c | |
parent | 8410ef028a5eefb257346b6023a0e96c3cca1012 (diff) | |
download | samba-98da4768df0939611bdfe7fb919c111013bc960a.tar.gz |
remember to close tdb after use
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)
Diffstat (limited to 'source3/utils/status.c')
-rw-r--r-- | source3/utils/status.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index 06abd09d929..243ccdd7557 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -327,6 +327,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *st printf("----------------------------------------------\n"); } tdb_traverse(tdb, traverse_fn1, NULL); + tdb_close(tdb); locks: if (processes_only) exit(0); |