mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Fix frame-related crash on www.sts.pl (bug 723)
Earlier doc_view was freed in src/document/renderer.c line 455 and used later by load_additional_file.
This commit is contained in:
parent
5dffe2e8ac
commit
6afdbf608f
@ -707,7 +707,7 @@ void
|
||||
process_file_requests(struct session *ses)
|
||||
{
|
||||
struct file_to_load *ftl;
|
||||
struct document_view *doc_view = current_frame(ses);
|
||||
struct document_view *doc_view = NULL;
|
||||
int more;
|
||||
|
||||
if (ses->status.processing_file_requests) return;
|
||||
@ -721,6 +721,7 @@ process_file_requests(struct session *ses)
|
||||
|
||||
ftl->req_sent = 1;
|
||||
|
||||
doc_view = current_frame(ses);
|
||||
load_additional_file(ftl, doc_view, CACHE_MODE_NORMAL);
|
||||
more = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user