[7.2.440] Calling a function through a funcref, where the function deletes
commite107ba28794df44652084a9e553cb6493dbb8a4b
authorBram Moolenaar <Bram@moolenaar.net>
Fri, 28 May 2010 22:03:30 +0000 (28 22:03 +0000)
committerBram Moolenaar <Bram@moolenaar.net>
Fri, 28 May 2010 22:03:30 +0000 (28 22:03 +0000)
tree056e8137191d160855d46ac13cd6bd07cadfb476
parent463d4f5e5967d20434a51a0c76b488e5fc641182
[7.2.440] Calling a function through a funcref, where the function deletes

Problem:    Calling a function through a funcref, where the function deletes
            the funcref, leads to an invalid memory access.

Solution:   Make a copy of the function name. (Lech Lorens)

Patch 7.2.440
src/eval.c
src/testdir/test34.in
src/testdir/test34.ok
src/version.c