Lines Matching defs:mem_ctx
163 TALLOC_CTX *mem_ctx = NULL;
187 mem_ctx = talloc_init();
189 if (!mem_ctx) {
195 if (tdb_prs_fetch(tdb, keystr, &ps, mem_ctx) != 0) {
201 talloc_destroy(mem_ctx);
249 if (mem_ctx) talloc_destroy(mem_ctx);
269 TALLOC_CTX *mem_ctx = NULL;
348 mem_ctx = talloc_init();
350 if (!mem_ctx) {
357 sizeof(SEC_DESC_BUF), 4, mem_ctx, MARSHALL);
374 if (mem_ctx) talloc_destroy(mem_ctx);