From b3a5ae0c6f41c8b20dd8bb82e39b7396c10f13f8 Mon Sep 17 00:00:00 2001 From: huangxin Date: Thu, 23 Feb 2023 15:42:37 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84?= =?UTF-8?q?popen=E6=96=87=E4=BB=B6=E5=8F=A5=E6=9F=84=E6=B3=84=E6=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/libs/hardware/memory.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcs/libs/hardware/memory.c b/srcs/libs/hardware/memory.c index 10193ea..5d5cc9a 100644 --- a/srcs/libs/hardware/memory.c +++ b/srcs/libs/hardware/memory.c @@ -90,6 +90,8 @@ static int memory_info_refresh() { sdsfree(tmpStr); } + pclose(fp); + return errCode; }