Skip to content

Commit

Permalink
socket_http_get_recursive: Free err (#4720)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Nov 16, 2024
1 parent 0b24a9f commit 9ef17a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librz/socket/socket_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ static char *socket_http_get_recursive(const char *url, int *code, int *rlen, ut
free(curl_env);
if (err) {
eprintf("%s", err);
free(err);
}
if (!ret || !res) {
return NULL;
Expand Down

0 comments on commit 9ef17a4

Please sign in to comment.