File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,7 +267,6 @@ func Test_closure_refcount()
267267 call assert_equal (2 , g: Count ())
268268 call assert_equal (3 , g: Count2 ())
269269
270- " This causes memory access errors.
271- " delfunc LambdaFoo
272- " delfunc LambdaBar
270+ delfunc LambdaFoo
271+ delfunc LambdaBar
273272endfunc
Original file line number Diff line number Diff line change @@ -2711,7 +2711,7 @@ ex_delfunction(exarg_T *eap)
27112711 * Numbered functions and lambdas snould be kept if the refcount is
27122712 * one or more. */
27132713 if (fp -> uf_refcount > (isdigit (fp -> uf_name [0 ])
2714- || fp -> uf_name [0 ] == '<' ) ? 0 : 1 )
2714+ || fp -> uf_name [0 ] == '<' ? 0 : 1 ) )
27152715 {
27162716 /* Function is still referenced somewhere. Don't free it but
27172717 * do remove it from the hashtable. */
Original file line number Diff line number Diff line change @@ -763,6 +763,8 @@ static char *(features[]) =
763763
764764static int included_patches [] =
765765{ /* Add new patch number below this line */
766+ /**/
767+ 2139 ,
766768/**/
767769 2138 ,
768770/**/
You can’t perform that action at this time.
0 commit comments