forked from bartvdbraak/blender
60c8c130fe
I'm not sure why this function ever increased the object's refcount. Any place in the code that calls KX_GameObject::GetParent() has to turn around and call parent->Release(). Forgetting to call Release() was a common cause of memory leaks (in fact, KX_SteeringActuator was probably leaking). If the refcount needs to be increased, the calling code can handle calling AddRef(). |
||
---|---|---|
.. | ||
Bullet | ||
common | ||
Dummy |