mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Set term_->textarea_data = NULL when taking the pointer in textarea_edit
This commit is contained in:
parent
d384f93522
commit
8dc000e313
@ -657,6 +657,7 @@ textarea_edit(int op, struct terminal *term_, struct form_state *fs_,
|
||||
struct string file;
|
||||
|
||||
td = term_->textarea_data;
|
||||
term_->textarea_data = NULL;
|
||||
assert(td);
|
||||
|
||||
if (!td->fs || !init_string(&file)
|
||||
|
Loading…
Reference in New Issue
Block a user