mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-21 03:52:04 +03:00
gterm: Fix NULL dereference bug when no wallpaper used
This commit is contained in:
parent
9d6c64954c
commit
0f4beb1bfd
@ -804,8 +804,10 @@ no_load_font:;
|
||||
|
||||
pmm_free(font, FONT_MAX);
|
||||
|
||||
image_close(background);
|
||||
background = NULL;
|
||||
if (background != NULL) {
|
||||
image_close(background);
|
||||
background = NULL;
|
||||
}
|
||||
|
||||
if (terms_i == 0) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user