mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2025-02-20 11:43:27 +08:00
Display (Linux): fix memleaks
This commit is contained in:
parent
3c817ecf6d
commit
978e578e7a
@ -207,6 +207,10 @@ static void waylandOutputHandler(WaylandData* wldata, struct wl_registry* regist
|
||||
0
|
||||
);
|
||||
|
||||
ffStrbufDestroy(&display.description);
|
||||
ffStrbufDestroy(&display.vendorAndModelId);
|
||||
ffStrbufDestroy(&display.name);
|
||||
|
||||
ffThreadMutexUnlock(&mutex);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user