patch 8.2.3721: using memory freed by losing the clipboard selection
Problem: Using memory freed by losing the clipboard selection. (Dominique
Pellé)
Solution: Check y_array is still valid after calling changed_lines().
(closes #9253)
diff --git a/src/errors.h b/src/errors.h
index 1d6a3a3..047ff9c 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -316,7 +316,8 @@
INIT(= N_("E1062: Cannot index a Number"));
EXTERN char e_type_mismatch_for_v_variable[]
INIT(= N_("E1063: Type mismatch for v: variable"));
-// E1064 unused
+EXTERN char e_yank_register_changed_while_using_it[]
+ INIT(= N_("E1064: Yank register changed while using it"));
// E1065 unused
EXTERN char e_cannot_declare_a_register_str[]
INIT(= N_("E1066: Cannot declare a register: %s"));