[FL-1641] File select fix #658

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich 2021-08-19 03:24:52 +03:00 committed by GitHub
parent 5f6aff2255
commit 227ef47e2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -289,7 +289,7 @@ bool file_select_fill_strings(FileSelect* file_select) {
storage_dir_close(directory); storage_dir_close(directory);
storage_file_free(directory); storage_file_free(directory);
free(name); free(name);
return false; return true;
} }
while(1) { while(1) {
@ -350,7 +350,7 @@ bool file_select_fill_count(FileSelect* file_select) {
storage_dir_close(directory); storage_dir_close(directory);
storage_file_free(directory); storage_file_free(directory);
free(name); free(name);
return false; return true;
} }
while(1) { while(1) {