Skip to content

Commit fd8ba55

Browse files
authored
net_http: fix memleak (#17487)
1 parent 97803f5 commit fd8ba55

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libretro-common/net/net_http.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,6 @@ struct http_t *net_http_new(struct http_connection_t *conn)
968968
state->response.buflen = 16 * 1024;
969969
state->response.data = (char*)malloc(state->response.buflen);
970970
state->response.headers = string_list_new();
971-
string_list_initialize(state->response.headers);
972971

973972
return state;
974973
}

0 commit comments

Comments
 (0)