diff options
-rw-r--r-- | apps/shortcuts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 26d8ed4c07..78d8fc6cb5 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -519,9 +519,11 @@ static int shortcut_menu_speak_item(int selected_item, void * data) | |||
519 | if (info.attribute & ATTR_DIRECTORY) | 519 | if (info.attribute & ATTR_DIRECTORY) |
520 | talk_dir_or_spell(sc->u.path, NULL, false); | 520 | talk_dir_or_spell(sc->u.path, NULL, false); |
521 | else talk_file_or_spell(path, filename, NULL, false); | 521 | else talk_file_or_spell(path, filename, NULL, false); |
522 | closedir(dir); | ||
522 | return 0; | 523 | return 0; |
523 | } | 524 | } |
524 | } | 525 | } |
526 | closedir(dir); | ||
525 | } | 527 | } |
526 | } | 528 | } |
527 | else | 529 | else |