fix: fix rare page faults caused by Window Server apps, change default wallpaper path

This commit is contained in:
2026-03-01 12:35:30 +01:00
parent e793955a0a
commit 28d8e67c41
5 changed files with 18 additions and 14 deletions
+2 -2
View File
@@ -101,8 +101,8 @@ static void klog_on_poll(Window* win) {
static void klog_on_close(Window* win) {
KlogState* klog = (KlogState*)win->app_data;
if (klog) {
if (klog->term.cells) montauk::mfree(klog->term.cells);
if (klog->term.alt_cells) montauk::mfree(klog->term.alt_cells);
if (klog->term.cells) montauk::free(klog->term.cells);
if (klog->term.alt_cells) montauk::free(klog->term.alt_cells);
if (klog->klog_buf) montauk::mfree(klog->klog_buf);
montauk::mfree(klog);
win->app_data = nullptr;