mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
ELinks attempted to display a message box on file_download.term, but it had already closed that terminal and freed the struct terminal. To fix this, reset file_download.term pointers to NULL when the terminal is about to be destroyed. Also, assert in download_data_store() that file_download.term is either NULL or in the global "terminals" list. Reported by أحمد المحمودي. (cherry picked from commit 6e2476ea4d72d91de83c481b1e019d93d6317b35)