From 356c9057038544e30caad722b2c0e2efececaf10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Fri, 9 Jun 2023 11:07:06 +0800 Subject: [PATCH] DisplayServer (macOS): add a missing variable initialization --- src/detection/displayserver/displayserver_apple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/detection/displayserver/displayserver_apple.c b/src/detection/displayserver/displayserver_apple.c index ab8c224ac..f2d2447aa 100644 --- a/src/detection/displayserver/displayserver_apple.c +++ b/src/detection/displayserver/displayserver_apple.c @@ -108,6 +108,7 @@ void ffConnectDisplayServerImpl(FFDisplayServerResult* ds, const FFinstance* ins if(instance->config.allowSlowOperations) { FF_STRBUF_AUTO_DESTROY name; + ffStrbufInit(&name); detectWMPlugin(&name); if(name.length) ffStrbufAppendF(&ds->wmPrettyName, " (with %s)", name.chars);