fixed ActionNode memoryleak.
Merge branch 'develop' into #3585
Merge pull request #4897 from chengstory/#3585

fixed actionNode Memory Leak.