1
0
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:
Miciah Dashiel Butler Masters 2007-09-01 09:42:54 +00:00 committed by Miciah Dashiel Butler Masters
parent d384f93522
commit 8dc000e313

View File

@ -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)