A fix of memory leak in cloning ext functions.