From 8e036db3f6c449131b443a42b4f6a658ec4b1896 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 16 Aug 2024 01:21:34 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=94=E3=82=81=E3=82=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/host.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/host.c b/src/host.c index 9f1a458..27def8c 100644 --- a/src/host.c +++ b/src/host.c @@ -75,7 +75,9 @@ const char *display_host() { if (!cmd) return "Unknown"; out = (char *)run_command_s(cmd); +#if defined(__linux__) free((void *)cmd); +#endif #if !defined(__HAIKU__) to_cache("/tmp/farfetch/host", out); #endif