fw/proces_mgmt: avoid redundant app_free call

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2025-08-11 12:00:23 +02:00 committed by Jinchang
parent 4051c5bb97
commit 7ef5f9a837
1 changed files with 4 additions and 2 deletions

View File

@ -365,8 +365,10 @@ static void prv_load_list_if_needed(AppMenuDataSource *source) {
app_install_enumerate_entries(prv_app_enumerate_callback, source);
if (source->order_storage != NULL) {
app_free(source->order_storage);
source->order_storage = NULL;
}
}
static void prv_unload_node(const AppMenuDataSource *source, AppMenuNode *node) {