mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[frames] Do not free doc_view, when toggle html -> plain
I know it is not correct, but at least does not crash.
This commit is contained in:
parent
ddbc49b6b3
commit
9504926c6b
@ -534,6 +534,7 @@ render_document_frames(struct session *ses, int no_cache)
|
|||||||
struct document_view *prev_doc_view = doc_view->prev;
|
struct document_view *prev_doc_view = doc_view->prev;
|
||||||
|
|
||||||
if (doc_view->used) continue;
|
if (doc_view->used) continue;
|
||||||
|
if (vs && vs->plain) continue;
|
||||||
|
|
||||||
detach_formatted(doc_view);
|
detach_formatted(doc_view);
|
||||||
del_from_list(doc_view);
|
del_from_list(doc_view);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user