崩溃迷惑,好几天了,急

class ShortestPathStep : public cocos2d::Ref
{
public:
ShortestPathStep();
~ShortestPathStep();
static ShortestPathStep *createWithPosition(const cocos2d::Point &pos);
bool initWithPosition(const cocos2d::Point &pos);
int getFScore() const;
bool isEqual(const ShortestPathStep other) const;
std::string getDescription() const;
CC_SYNTHESIZE(cocos2d::Point, _position, Position);
CC_SYNTHESIZE(int, _gScore, GScore);
CC_SYNTHESIZE(int, _hScore, HScore);
CC_SYNTHESIZE(ShortestPathStep
, _parent, Parent);
};
ShortestPathStep *pRet = new ShortestPathStep();
pRet->autorelease();
_shortestPath.pushBack(pRet);
断点进入pushBack内部的retain()崩溃,什么原因啊?

大概是不需要调用autorelease吧,这个在new的时候就调用了,好像。。。