Lines Matching refs:tmp_ctx
85 TALLOC_CTX *tmp_ctx = NULL;
90 tmp_ctx = talloc_new(NULL);
91 if (tmp_ctx == NULL) {
97 ret = sudosrv_response_append_string(tmp_ctx, name, strlen(name) + 1,
104 ret = sudosrv_response_append_uint32(tmp_ctx, values_num,
120 ret = sudosrv_response_append_string(tmp_ctx,
136 talloc_free(tmp_ctx);
148 TALLOC_CTX *tmp_ctx = NULL;
152 tmp_ctx = talloc_new(NULL);
153 if (tmp_ctx == NULL) {
159 ret = sudosrv_response_append_uint32(tmp_ctx, attrs_num,
167 ret = sudosrv_response_append_attr(tmp_ctx, attrs[i].name,
181 talloc_free(tmp_ctx);
202 TALLOC_CTX *tmp_ctx = NULL;
206 tmp_ctx = talloc_new(NULL);
207 if (tmp_ctx == NULL) {
213 ret = sudosrv_response_append_uint32(tmp_ctx, error,
226 ret = sudosrv_response_append_string(tmp_ctx, "\0", 1,
233 ret = sudosrv_response_append_uint32(tmp_ctx, rules_num,
243 ret = sudosrv_response_append_rule(tmp_ctx, rules[i]->num, rules[i]->a,
257 talloc_free(tmp_ctx);