graphics: Fix memory leak when resizing the display

This commit is contained in:
bjorn3
2025-07-06 16:22:41 +02:00
parent ded7a6ed86
commit 93e95f6fe8
3 changed files with 39 additions and 1 deletions
+2
View File
@@ -95,6 +95,8 @@ impl FbbootlogScheme {
},
);
let _ = map.display_handle.destroy_dumb_framebuffer(map.fb);
map.fb = fb;
map.inner = new_map;