Lines Matching defs:mem_ctx
10 TALLOC_CTX *mem_ctx = NULL;
20 mem_ctx = talloc_init("cac_smbc");
21 if(!mem_ctx) {
52 if(!cac_LsaOpenPolicy(hnd, mem_ctx, &lop))
59 if(!cac_RegConnect(hnd, mem_ctx, &rc))
66 if(!cac_SamOpenDomain(hnd, mem_ctx, &sod))
72 cac_LsaClosePolicy(hnd, mem_ctx, lop.out.pol);
75 cac_RegClose(hnd, mem_ctx, rc.out.key);
78 cac_SamClose(hnd, mem_ctx, sod.out.sam);
81 cac_SamClose(hnd, mem_ctx, sod.out.dom_hnd);
84 talloc_destroy(mem_ctx);