From 6416688a1df7bec1d10936f6c94d4303c7f29642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=85=B6=E6=96=87?= Date: Wed, 16 Oct 2024 10:28:20 +0800 Subject: [PATCH] =?UTF-8?q?hnp=E4=BB=A3=E7=A0=81=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ι™ˆε…Άζ–‡ --- service/hnp/base/hnp_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/hnp/base/hnp_file.c b/service/hnp/base/hnp_file.c index 32ee4985..a0286a06 100644 --- a/service/hnp/base/hnp_file.c +++ b/service/hnp/base/hnp_file.c @@ -292,6 +292,8 @@ int HnpPathFileCount(const char *path) num++; } + closedir(dir); + return num; #endif }