Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/preichl/fio
Browse files Browse the repository at this point in the history
* 'master' of https://github.com/preichl/fio:
  engines/http: Fix memory leak
  • Loading branch information
axboe committed Dec 14, 2023
2 parents 08a68c4 + 9e66b06 commit 4e472f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ static char *_aws_uriencode(const char *uri)
for (i = 0; (c = uri[i]); i++) {
if (n > bufsize-5) {
log_err("encoding the URL failed\n");
free(r);
return NULL;
}

Expand Down

0 comments on commit 4e472f8

Please sign in to comment.