diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-21 21:02:43 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-21 21:02:43 +0900 |
commit | 1b4a5a6bc4712468b4b5bfedc584f0e03728fe11 (patch) | |
tree | 370fe7fd266cd47304a2aa8380f4ae53e48c39d0 /src/resolution.c | |
parent | 96c5f9fdf06e7e1d944da3a1800cf9f7f00e8398 (diff) |
WM情報の追加
Diffstat (limited to 'src/resolution.c')
-rw-r--r-- | src/resolution.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolution.c b/src/resolution.c index 1438d48..2671a02 100644 --- a/src/resolution.c +++ b/src/resolution.c @@ -9,6 +9,7 @@ const char *display_resolution() { const char *display = run_command_s("echo $DISPLAY"); if (display == NULL || strlen(display) == 0) return NULL; + else free((void *)display); const char *isexist = run_command_s("which xrandr"); if ( |