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; }