Skip to content

Commit

Permalink
http_client: added missing exit path
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Nov 19, 2024
1 parent ebd49fa commit bbfda1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/flb_http_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2204,6 +2204,11 @@ int flb_http_request_set_authorization(struct flb_http_request *request,
return -1;
}
}
else {
va_end(arguments);

return -1;
}

va_end(arguments);

Expand Down

0 comments on commit bbfda1e

Please sign in to comment.