Commit ef92f2e9 authored by Sergey Lyubka's avatar Sergey Lyubka

Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints

PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
parent 4e89eac8
......@@ -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) {
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment