Skip to content

Commit 356c905

Browse files
committed
DisplayServer (macOS): add a missing variable initialization
1 parent 47a5473 commit 356c905

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/detection/displayserver/displayserver_apple.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ void ffConnectDisplayServerImpl(FFDisplayServerResult* ds, const FFinstance* ins
108108
if(instance->config.allowSlowOperations)
109109
{
110110
FF_STRBUF_AUTO_DESTROY name;
111+
ffStrbufInit(&name);
111112
detectWMPlugin(&name);
112113
if(name.length)
113114
ffStrbufAppendF(&ds->wmPrettyName, " (with %s)", name.chars);

0 commit comments

Comments
 (0)