diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-10-16 09:08:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:08 -0500 |
commit | 7f00bee3dcc8eeb5505dc70f6b4e1baaad8ca683 (patch) | |
tree | c9fbf80e1cb81414e7308e46529c419318bc6a73 | |
parent | bd8f63a61747d91452dadaa1667bc30a708fa4d4 (diff) | |
download | samba-7f00bee3dcc8eeb5505dc70f6b4e1baaad8ca683.tar.gz samba-7f00bee3dcc8eeb5505dc70f6b4e1baaad8ca683.tar.bz2 samba-7f00bee3dcc8eeb5505dc70f6b4e1baaad8ca683.zip |
r19322: fix a minor memory leak in the ltdb cache code
(This used to be commit e03ed5822a690e2d151107f2edb9b4f1d3a1e1b9)
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_cache.c b/source4/lib/ldb/ldb_tdb/ldb_cache.c index a6092c45f9..a98b5d8257 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_cache.c +++ b/source4/lib/ldb/ldb_tdb/ldb_cache.c @@ -167,6 +167,7 @@ static int ltdb_attributes_load(struct ldb_module *module) if (ldb_set_attrib_handlers(module->ldb, &h2, 1) != 0) { goto failed; } + talloc_steal(module->ldb->schema.attrib_handlers, h2.attr); } return 0; |