mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-30 23:49:01 +08:00
Added MIP free.
This commit is contained in:
parent
6393cd149d
commit
14710b81e4
@ -197,7 +197,7 @@ static void test_http_fetch(void) {
|
|||||||
|
|
||||||
// Simple HTTP fetch
|
// Simple HTTP fetch
|
||||||
{
|
{
|
||||||
char* http_feedback = {'\0'};
|
char* http_feedback = "";
|
||||||
const bool ipv6 = 0;
|
const bool ipv6 = 0;
|
||||||
if (ipv6) {
|
if (ipv6) {
|
||||||
http_feedback = fetch (&mgr, "ipv6.google.com",\
|
http_feedback = fetch (&mgr, "ipv6.google.com",\
|
||||||
@ -221,6 +221,7 @@ static void test_http_fetch(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Clear
|
// Clear
|
||||||
|
mip_free(&mif);
|
||||||
mg_mgr_free(&mgr);
|
mg_mgr_free(&mgr);
|
||||||
ASSERT(mgr.conns == NULL); // Deconstruction OK
|
ASSERT(mgr.conns == NULL); // Deconstruction OK
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user