Lines Matching defs:mem_ctx
8 TALLOC_CTX *mem_ctx = NULL;
13 mem_ctx = talloc_init("regdelete");
32 rok.in.name = talloc_strdup(mem_ctx, tmp);
35 if(!cac_RegOpenKey(hnd, mem_ctx, &rok)) {
47 if(!cac_RegGetVersion(hnd, mem_ctx, &rgv))
66 rdv.in.name = talloc_strdup(mem_ctx, tmp);
68 if(!cac_RegDeleteValue(hnd, mem_ctx, &rdv))
80 rdk.in.name = talloc_strdup(mem_ctx, tmp);
87 if(!cac_RegDeleteKey(hnd, mem_ctx, &rdk))
93 cac_RegClose(hnd, mem_ctx, rok.out.key);
97 talloc_destroy(mem_ctx);