From: i.Dark_Templar Date: Mon, 13 Sep 2021 18:43:44 +0000 (+0300) Subject: Fix crash when hiding message in details splash mode X-Git-Tag: 22.02.122~10^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f480678a61b25a928a3edf70a68b9e65016cb25;p=thirdparty%2Fplymouth.git Fix crash when hiding message in details splash mode --- diff --git a/src/main.c b/src/main.c index a5a196a1..9134f264 100644 --- a/src/main.c +++ b/src/main.c @@ -574,7 +574,9 @@ on_hide_message (state_t *state, if (strcmp (list_message, message) == 0) { free (list_message); ply_list_remove_node (state->messages, node); - ply_boot_splash_hide_message (state->boot_splash, message); + if (state->boot_splash != NULL) { + ply_boot_splash_hide_message (state->boot_splash, message); + } } node = next_node; }