mirror of
https://github.com/lxsang/ant-http
synced 2024-12-27 09:18:22 +01:00
free memory
This commit is contained in:
parent
cdd4c0fa35
commit
a8c0a4afe9
@ -583,6 +583,8 @@ dictionary decode_request(void* client,const char* method, char* url)
|
|||||||
LOG("Bad request\n");
|
LOG("Bad request\n");
|
||||||
if(ctype) free(ctype);
|
if(ctype) free(ctype);
|
||||||
if(cookie) freedict(cookie);
|
if(cookie) freedict(cookie);
|
||||||
|
if(query)
|
||||||
|
free(query);
|
||||||
free(xheader);
|
free(xheader);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user