Lines Matching refs:tmp_ctx
77 TALLOC_CTX *tmp_ctx = NULL;
85 tmp_ctx = talloc_new(NULL);
86 if (tmp_ctx == NULL) {
93 talloc_free(tmp_ctx);
104 talloc_free(tmp_ctx);
108 sockaddr = resolv_get_sockaddr_address(tmp_ctx, srvaddr,
112 talloc_free(tmp_ctx);
125 talloc_free(tmp_ctx);
138 talloc_free(tmp_ctx);
149 talloc_free(tmp_ctx);
200 TALLOC_CTX *tmp_ctx = NULL;
214 tmp_ctx = talloc_new(NULL);
215 if (tmp_ctx == NULL) {
221 ret = remove_krb5_info_files(tmp_ctx, ctx->realm);
226 talloc_zfree(tmp_ctx);
276 TALLOC_CTX *tmp_ctx;
285 tmp_ctx = talloc_new(NULL);
286 if (!tmp_ctx) return ENOMEM;
312 ret = select_principal_from_keytab(tmp_ctx,
353 talloc_free(tmp_ctx);
415 TALLOC_CTX *tmp_ctx;
417 tmp_ctx = talloc_new(NULL);
418 if (tmp_ctx == NULL) return ENOMEM;
427 krb5_realm = sdap_gssapi_get_default_realm(tmp_ctx);
435 krb5_realm = talloc_strdup(tmp_ctx, krb5_opt_realm);
476 talloc_free(tmp_ctx);
488 TALLOC_CTX *tmp_ctx;
495 tmp_ctx = talloc_new(NULL);
496 if (!tmp_ctx) {
502 ret = split_on_separator(tmp_ctx, urls, ',', true, true, &list, NULL);
580 talloc_free(tmp_ctx);
613 TALLOC_CTX *tmp_ctx;
617 tmp_ctx = talloc_new(NULL);
618 if (!tmp_ctx) {
622 service = talloc_zero(tmp_ctx, struct sdap_service);
673 talloc_zfree(tmp_ctx);
757 TALLOC_CTX *tmp_ctx;
763 tmp_ctx = talloc_new(NULL);
764 if (!tmp_ctx) {
768 ret = build_attrs_from_map(tmp_ctx, map, map_size, NULL,
777 missing = talloc_array(tmp_ctx, char *, attr_count + 2);
786 ret = get_sysdb_attr_name(tmp_ctx, map, map_size,
847 talloc_free(tmp_ctx);