diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index b034f25df0..d17668ade5 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -520,8 +520,7 @@ static int bf_action_cb(int action, struct gui_synclist* list) | |||
520 | /* for some reason simplelist doesn't allow adding items here if | 520 | /* for some reason simplelist doesn't allow adding items here if |
521 | * info.get_name is given, so use normal list api */ | 521 | * info.get_name is given, so use normal list api */ |
522 | gui_synclist_set_nb_items(list, core_get_num_blocks()); | 522 | gui_synclist_set_nb_items(list, core_get_num_blocks()); |
523 | if (handle > 0) | 523 | core_free(handle); |
524 | core_free(handle); | ||
525 | } | 524 | } |
526 | action = ACTION_REDRAW; | 525 | action = ACTION_REDRAW; |
527 | } | 526 | } |