Skip to content

Commit 1623bac

Browse files
committed
Merge branch 'master' of github.com:fluent/fluent-bit
2 parents 49f4ae0 + 66589e1 commit 1623bac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/flb_oauth2.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ struct flb_oauth2 *flb_oauth2_create(struct flb_config *config,
242242
/* Clear the current payload and token */
243243
void flb_oauth2_payload_clear(struct flb_oauth2 *ctx)
244244
{
245+
flb_sds_len_set(ctx->payload, 0);
245246
ctx->payload[0] = '\0';
246247
ctx->expires_in = 0;
247248
if (ctx->access_token){

0 commit comments

Comments
 (0)