1
0
Fork 0
forked from len0rd/rockbox

[Bug Fix] Data Abort on Usb Unplug, database browser ran on USB dc

current_lists holds a pointer to whatver the current list is only problem
is when in one of the function type menus like the plugin viewer, playlist viewer, shortcut menu
probably a few others on usb unplug current_lists holds stale data and updates the list however
the data has already been freed when the function returned

the issue with db browser was a return of true from dirbrowse() which was the value 1 which is the
enum for GO_TO_DBBROWSER

Change-Id: I7349dfab2752e11f8e746925501740e959851cd5
This commit is contained in:
William Wilgus 2024-07-21 01:45:25 -04:00
parent 2b7b4c24d5
commit 188f025f51
2 changed files with 8 additions and 3 deletions

View file

@ -1005,7 +1005,7 @@ static int dirbrowse(void)
}
}
}
return true;
return GO_TO_ROOT;
}
int create_playlist(void)