patch 8.2.2636: memory leak when compiling inline function
Problem: Memory leak when compiling inline function.
Solution: Free the prefetched line.
diff --git a/src/structs.h b/src/structs.h
index 0ca9203..75ad127 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1882,6 +1882,9 @@
// pointer to the last line obtained with getsourceline()
char_u *eval_tofree;
+ // pointer to the last line of an inline function
+ char_u *eval_tofree_cmdline;
+
// pointer to the lines concatenated for a lambda.
char_u *eval_tofree_lambda;
} evalarg_T;