mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
fix double free
This commit is contained in:
parent
9edeed5ffa
commit
ab1eb7bcba
BIN
build/httpd
BIN
build/httpd
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -131,7 +131,7 @@ void catb(int client, FILE* ptr)
|
|||||||
fread(buffer,BUFFLEN,1,ptr);
|
fread(buffer,BUFFLEN,1,ptr);
|
||||||
__b(client,buffer,BUFFLEN);
|
__b(client,buffer,BUFFLEN);
|
||||||
}
|
}
|
||||||
fclose(ptr);
|
//fclose(ptr);
|
||||||
}
|
}
|
||||||
void cat(int client, FILE *resource)
|
void cat(int client, FILE *resource)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user