mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-27 20:59:00 +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
|
||||
{
|
||||
char* http_feedback = {'\0'};
|
||||
char* http_feedback = "";
|
||||
const bool ipv6 = 0;
|
||||
if (ipv6) {
|
||||
http_feedback = fetch (&mgr, "ipv6.google.com",\
|
||||
@ -221,6 +221,7 @@ static void test_http_fetch(void) {
|
||||
}
|
||||
|
||||
// Clear
|
||||
mip_free(&mif);
|
||||
mg_mgr_free(&mgr);
|
||||
ASSERT(mgr.conns == NULL); // Deconstruction OK
|
||||
close(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user