summaryrefslogtreecommitdiffstats
path: root/source3/tdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-05 22:36:25 +0000
committerJeremy Allison <jra@samba.org>2001-07-05 22:36:25 +0000
commit3a40f80a94cba569c1a1f19ba36165069ba7e83a (patch)
treed48ce91e63007d24a9de20802d5020f0714002b6 /source3/tdb
parentaff5f5c15834ffd9b02ea91c7ac146bd4f3cb213 (diff)
downloadsamba-3a40f80a94cba569c1a1f19ba36165069ba7e83a.tar.gz
samba-3a40f80a94cba569c1a1f19ba36165069ba7e83a.tar.xz
samba-3a40f80a94cba569c1a1f19ba36165069ba7e83a.zip
Fix for enumerating large numbers of users.
Jeremy. (This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
Diffstat (limited to 'source3/tdb')
-rw-r--r--source3/tdb/tdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/tdb/tdb.c b/source3/tdb/tdb.c
index 97c8e00ae68..c3ded6368b7 100644
--- a/source3/tdb/tdb.c
+++ b/source3/tdb/tdb.c
@@ -1340,7 +1340,7 @@ TDB_CONTEXT *tdb_open(char *name, int hash_size, int tdb_flags,
return ret;
fail:
- if (tdb.name) free(tdb.name);
+ if (tdb.name) free(tdb.name);
if (tdb.fd != -1) close(tdb.fd);
tdb_munmap(&tdb);
return NULL;