From 8ea676d337ecdd16c14bc4cd20ac86384e7d1b8d Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 17 Dec 2022 17:18:43 +0000 Subject: [PATCH] fixed a memory leak problem in http-file.c --- lib/http-file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/http-file.c b/lib/http-file.c index 926c16d..6378b63 100644 --- a/lib/http-file.c +++ b/lib/http-file.c @@ -714,6 +714,7 @@ static int open_peer_with_mode (file_t* file, const hio_bch_t* actual_file, int } else { + hio_freemem (file->htts->hio, alt_file); #if 0 /* TODO: switch to directory listing if it's enabled */ DIR* dp;