Fix memory leaks when use PUSH_OBJECT