graphics: Fix memory leak when resizing the display
This commit is contained in:
@@ -95,6 +95,8 @@ impl FbbootlogScheme {
|
||||
},
|
||||
);
|
||||
|
||||
let _ = map.display_handle.destroy_dumb_framebuffer(map.fb);
|
||||
|
||||
map.fb = fb;
|
||||
map.inner = new_map;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user