From b04fd3efed996e782bfec7bb35877e0912b1bd70 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 26 Dec 2025 08:28:17 +0100 Subject: [PATCH] plugins: fix dangling sbs_title pointer Change-Id: Ief2a5dde8760e55524a74b482079a2a9ebafece9 --- apps/plugin.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/plugin.c b/apps/plugin.c index 972fd2568d..5cd37389d0 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -48,6 +48,7 @@ #include "file.h" #include "core_keymap.h" #include "language.h" +#include "statusbar-skinned.h" #if CONFIG_CHARGING #include "power.h" @@ -1065,6 +1066,10 @@ int plugin_load(const char* plugin, const void* parameter) FOR_NB_SCREENS(i) viewportmanager_theme_undo(i, true); } + else + /* fix dangling sbs_title pointer */ + FOR_NB_SCREENS(i) + sb_set_title_text(NULL, Icon_NOICON, i); plugin_check_open_close__exit();