summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-10-17 01:21:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:17 -0500
commite36ea2e8ebe44079dd3989694f0235e77caf4fe2 (patch)
tree35b7b7ae23ff313520cefc376dfa0fe8aecd5095 /source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
parent5535b43efd297deb31c900a60762af1642779278 (diff)
downloadsamba-e36ea2e8ebe44079dd3989694f0235e77caf4fe2.tar.gz
samba-e36ea2e8ebe44079dd3989694f0235e77caf4fe2.tar.bz2
samba-e36ea2e8ebe44079dd3989694f0235e77caf4fe2.zip
r19362: - don't need to store the baseinfo message after cache load
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
Diffstat (limited to 'source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c')
-rw-r--r--source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
index 91256222b1..8dd25db1d6 100644
--- a/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
+++ b/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.c
@@ -2101,6 +2101,7 @@ static int lsqlite3_connect(struct ldb_context *ldb,
ldb_oom(ldb);
goto failed;
}
+ talloc_set_name_const(*module, "ldb_sqlite3 backend");
(*module)->ldb = ldb;
(*module)->prev = (*module)->next = NULL;
(*module)->private_data = lsqlite3;