mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r19322: fix a minor memory leak in the ltdb cache code
This commit is contained in:
parent
1d4d2271c9
commit
e03ed5822a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user