Skip to content

Commit

Permalink
out_azure_kusto: removed conf url destroy
Browse files Browse the repository at this point in the history
Signed-off-by: Tanmaya Panda <[email protected]>
  • Loading branch information
tanmaya-panda1 committed Feb 5, 2025
1 parent 18914d2 commit c7f872e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion plugins/out_azure_kusto/azure_kusto.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ struct flb_azure_kusto {

/* oauth2 context */
flb_sds_t oauth_url;
//flb_sds_t imds_url;
int use_imds;
struct flb_oauth2 *o;

Expand Down
10 changes: 0 additions & 10 deletions plugins/out_azure_kusto/azure_kusto_conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -809,16 +809,6 @@ int flb_azure_kusto_conf_destroy(struct flb_azure_kusto *ctx)
ctx->oauth_url = NULL;
}

if (ctx->az_kusto_scope){
flb_sds_destroy(ctx->az_kusto_scope);
ctx->az_kusto_scope = NULL;
}

if (ctx->msal_auth_url){
flb_sds_destroy(ctx->msal_auth_url);
ctx->msal_auth_url = NULL;
}

if (ctx->o) {
flb_oauth2_destroy(ctx->o);
ctx->o = NULL;
Expand Down

0 comments on commit c7f872e

Please sign in to comment.