mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
call mg_tcpip_free from mg_mgr_free()
This commit is contained in:
1 parent
34cdce750d
commit
54d4611eb6
6 files changed
+8
-9
No files matched your search
@@ -471,7 +471,6 @@ int main(void) {
|
||||
|
||||
// Clear
|
||||
mg_mgr_free(&mgr);
|
||||
mg_tcpip_free(&mif); // Release after mg_mgr
|
||||
ASSERT(mgr.conns == NULL); // Deconstruction OK
|
||||
close(fd);
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user