Display (Linux): fix memleaks

This commit is contained in:
李通洲 2023-08-10 19:04:09 +08:00
parent 3c817ecf6d
commit 978e578e7a

View File

@ -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);
}