Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints

PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
This commit is contained in:
Sergey Lyubka committed 2020-02-21 14:30:21 +00:00
1 parent 4e89eac8dd
commit ef92f2e9c5
2 files changed
+2 -2

No files matched your search

+1 -1
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) {
+1 -1
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) {