1
0
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:
Andrew Tridgell 2006-10-16 09:08:43 +00:00 committed by Gerald (Jerry) Carter
parent 1d4d2271c9
commit e03ed5822a

View File

@ -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;