call mg_tcpip_free from mg_mgr_free()

This commit is contained in:
Sergio R. Caprile committed 2025-05-15 17:37:40 -03:00
1 parent 34cdce750d
commit 54d4611eb6
6 files changed
+8 -9

No files matched your search

-2
View File
@@ -145,9 +145,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
mg_iobuf_add(&c->recv, 0, data, size);
c->pfn(c, MG_EV_READ, NULL); // manually invoke protocol event handler
mg_mgr_free(&mgr);
free(pkt);
mg_tcpip_free(&mif);
}
return 0;