Skip to content

Commit

Permalink
net_http: fix memleak (#17487)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Jan 30, 2025
1 parent 97803f5 commit fd8ba55
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libretro-common/net/net_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,6 @@ struct http_t *net_http_new(struct http_connection_t *conn)
state->response.buflen = 16 * 1024;
state->response.data = (char*)malloc(state->response.buflen);
state->response.headers = string_list_new();
string_list_initialize(state->response.headers);

return state;
}
Expand Down

0 comments on commit fd8ba55

Please sign in to comment.