mirror of
https://github.com/libretro/RetroArch
synced 2025-03-15 13:21:29 +00:00
net_http: fix memleak (#17487)
This commit is contained in:
parent
97803f5627
commit
fd8ba559d7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user