mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-14 10:20:01 +00:00
Integrate cesanta/dev#1062 - Fix dereferencing in mg_http_free_proto_data_endpoints
PUBLISHED_FROM=47fd1a4de07d2c53c994d29c88ac1d3a7f61c1a0
This commit is contained in:
1 parent
4e89eac8dd
commit
ef92f2e9c5
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user