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:
parent
2b7b4c24d5
commit
188f025f51
2 changed files with 8 additions and 3 deletions
|
@ -1005,7 +1005,7 @@ static int dirbrowse(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return GO_TO_ROOT;
|
||||
}
|
||||
|
||||
int create_playlist(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue