Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints

PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
This commit is contained in:
Sergey Lyubka 2020-02-21 14:29:14 +00:00
parent 4e89eac8dd
commit ef92f2e9c5
2 changed files with 2 additions and 2 deletions

View File

@ -5865,7 +5865,7 @@ static void mg_http_free_proto_data_endpoints(struct mg_http_endpoint **ep) {
current = tmp;
}
ep = NULL;
*ep = NULL;
}
static void mg_http_free_reverse_proxy_data(struct mg_reverse_proxy_data *rpd) {

View File

@ -236,7 +236,7 @@ static void mg_http_free_proto_data_endpoints(struct mg_http_endpoint **ep) {
current = tmp;
}
ep = NULL;
*ep = NULL;
}
static void mg_http_free_reverse_proxy_data(struct mg_reverse_proxy_data *rpd) {