if (!(tpd->verbatim) &&
smbconf_find_in_array(param_name, param_names, num_params, &idx))
{
- TALLOC_FREE(param_values[idx]);
+ talloc_free(param_values[idx]);
param_values[idx] = talloc_strdup(cache, param_value);
if (param_values[idx] == NULL) {
return false;
static void smbconf_txt_flush_cache(struct smbconf_ctx *ctx)
{
- TALLOC_FREE(pd(ctx)->cache);
+ talloc_free(pd(ctx)->cache);
+ pd(ctx)->cache = NULL;
}
static WERROR smbconf_txt_init_cache(struct smbconf_ctx *ctx)
}
done:
- TALLOC_FREE(tmp_ctx);
+ talloc_free(tmp_ctx);
return werr;
}
}
done:
- TALLOC_FREE(tmp_ctx);
+ talloc_free(tmp_ctx);
return werr;
}
werr = WERR_OK;
done:
- TALLOC_FREE(tmp_ctx);
+ talloc_free(tmp_ctx);
return werr;
}