r19430: merge recent ldb changes from Samba4. This includes memory leak fixes
[kai/samba-autobuild/.git] / source3 / lib / ldb / common / ldb_modules.c
index d627f3b9fa18315fe62fa7ed0294bb0167073d1f..325cab6dfda92e2be9723cb9272363b44380218e 100644 (file)
@@ -266,6 +266,7 @@ int ldb_load_modules_list(struct ldb_context *ldb, const char **module_list, str
                if (current == NULL) {
                        return LDB_ERR_OPERATIONS_ERROR;
                }
+               talloc_set_name(current, "ldb_module: %s", module_list[i]);
                
                current->ldb = ldb;
                current->ops = ops;