mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +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");
|
||||
if(ctype) free(ctype);
|
||||
if(cookie) freedict(cookie);
|
||||
if(query)
|
||||
free(query);
|
||||
free(xheader);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user