mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-10 13:37:25 +01:00
Display (Linux): fix memleaks
This commit is contained in:
1 parent
3c817ecf6d
commit
978e578e7a
1 file changed
+4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user