mirror of
https://github.com/lxsang/ant-http
synced 2025-07-27 11:09:48 +02:00
free memory
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user