fixed a memory leak problem in http-file.c
This commit is contained in:
parent
e076a1987b
commit
8ea676d337
@ -714,6 +714,7 @@ static int open_peer_with_mode (file_t* file, const hio_bch_t* actual_file, int
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
hio_freemem (file->htts->hio, alt_file);
|
||||||
#if 0
|
#if 0
|
||||||
/* TODO: switch to directory listing if it's enabled */
|
/* TODO: switch to directory listing if it's enabled */
|
||||||
DIR* dp;
|
DIR* dp;
|
||||||
|
Loading…
Reference in New Issue
Block a user