fix clone_func not checked for being nonnull

(0) -1000 -300 -100 -30 -10 -1 +1 +10 tip

mercurial